finally using transferkeys
authorJoey Hess <joeyh@joeyh.name>
Mon, 7 Dec 2020 20:11:29 +0000 (16:11 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 7 Dec 2020 20:18:26 +0000 (16:18 -0400)
commitfcc9e015560534b7d0ae7a4c5067a8b6dbb89679
treeb5b94b4edbdfea33d595ea1bf6f22560ecc11cc1
parent4c475688763e459bb357d9ec8d519afda8366a37
finally using transferkeys

Seems to work! Even progress bars. Have not tested prompting or various
error message displays yet.

transferkeys had to be made to operate in different modes for the
Assistant and Annex monads. A bit ugly, but it did relegate that
really ugly Database.Keys.closeDb in transferkeys to only the assistant
code path.

This commit was sponsored by Noam Kremen.
Annex/Transfer.hs
Annex/TransferrerPool.hs
Assistant/TransferSlots.hs
Command/TransferKeys.hs