freeipa/ipaserver/secrets
Fraser Tweedale 8fbcc33534 NSSWrappedCertDB: accept optional symmetric algorithm
Add support for Custodia ca_wrapped clients to specify the desired
symmetric encryption algorithm for exporting the wrapped signing key
(this mechanism is used for LWCA key replication).  If not
specified, we must assume that the client has an older Dogtag
version that can only import keys wrapped with DES-EDE3-CBC
encryption.

The selected algorithm gets passed to the 'nsswrappedcert' handler,
which in turn passes it to the 'pki ca-authority-key-export' command
(which is part of Dogtag).

Client-side changes will occur in a subsequent commit.

Part of: https://pagure.io/freeipa/issue/8020

Reviewed-By: Alexander Bokovoy <abbra@users.noreply.github.com>
2019-09-25 12:42:06 +10:00
..
handlers NSSWrappedCertDB: accept optional symmetric algorithm 2019-09-25 12:42:06 +10:00
__init__.py ipapython: move dnssec, p11helper and secrets to ipaserver 2016-11-29 14:50:51 +01:00
client.py Fix CustodiaClient ccache handling 2019-06-18 10:36:24 +10:00
common.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
kem.py Py3: Replace six.moves imports 2018-10-05 12:06:19 +02:00
service.py secrets: disable relative-imports for custodia 2017-09-08 15:42:07 +02:00
store.py NSSWrappedCertDB: accept optional symmetric algorithm 2019-09-25 12:42:06 +10:00