Obnam should detect whether encryption is used, and whether a suitable key is available, when reading an encrypted repository. For writing anything, the encryption key to use should be selected with --encrypt-with, but for read-only, if a key is available, it should be used, regardless of the whether --encrypt-with has been set or if it has been, what key it has been set to.

Suggested by Damien Couroussé.

--liw

Should be done since a while. done --liw