Open gperciva opened 8 years ago
This isn't currently possible, since there's nothing in the cache directory which identifies which keyfile was used. But it may be possible to fix this at the same time as we gain support for sharing a cache directory between keys.
First mentioned in http://mail.tarsnap.com/tarsnap-users/msg00294.html
Test case:
We should have a more useful error -- in this case, running
--fsck
isn't actually the best fix, since that'll wreck the cache directory for the real key. Instead, we should be warning that it's the wrong keyfile.