initremote: Avoid creating a remote that is not encrypted when gpg is broken
authorJoey Hess <joeyh@joeyh.name>
Mon, 1 May 2023 17:00:05 +0000 (13:00 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 1 May 2023 17:00:05 +0000 (13:00 -0400)
commit57c1b4f5e5b925df4064979be662a4ab8182f6c0
tree6215aaef58b1c9b9a4beecc14153126c7dfb97bc
parent23719bc91b539fc7c86b9f5f4090b2651f91b062
initremote: Avoid creating a remote that is not encrypted when gpg is broken

checksize was applied lazily, so the exception didn't happen until the
remote was set up.

Sponsored-by: k0ld on Patreon
CHANGELOG
Utility/Gpg.hs
doc/bugs/shared_encryption_bypassed_if_gpg_error_on_init.mdwn