Bug#680670: obnam: add_key doesn't encrypt symmetric key with new key

2012-09-09 Thread Lars Wirzenius
Hi, Mika, my apologies for responding to this so slowly. I've been very busy at work. You are correct that the symmetric key should be re-encrypted when a new key is added. It should also be re-encrypted when a key is removed. Your analysis of the situation was spot-on. I didn't use your patch di

Bug#680670: obnam: add_key doesn't encrypt symmetric key with new key

2012-07-07 Thread Mika Pflüger
Package: obnam Version: 1.1-1 Severity: normal Hei, in encryption_plugin.py: add_key calls add_to_userkeys for the shared toplevel and all listed clients, but add_to_userkeys only calls write_keyring whicht in turn only calls filter_write (which encrypts symmetrically) and then writes the new 'us