mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 08:59:57 -06:00
Fix Custodia imports
See: https://pagure.io/freeipa/issue/8882 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
1 parent
d804f1feed
commit
02ece292ad
20 files changed
+77
-45
No files matched your search
@@ -4,12 +4,12 @@ server_socket = $IPA_CUSTODIA_SOCKET
|
||||
auditlog = $IPA_CUSTODIA_AUDIT_LOG
|
||||
|
||||
[auth:simple]
|
||||
handler = custodia.httpd.authenticators.SimpleCredsAuth
|
||||
handler = ipaserver.custodia.httpd.authenticators.SimpleCredsAuth
|
||||
uid = $UID
|
||||
gid = $GID
|
||||
|
||||
[auth:header]
|
||||
handler = custodia.httpd.authenticators.SimpleHeaderAuth
|
||||
handler = ipaserver.custodia.httpd.authenticators.SimpleHeaderAuth
|
||||
header = GSS_NAME
|
||||
|
||||
[authz:kemkeys]
|
||||
@@ -23,6 +23,6 @@ handler = ipaserver.secrets.store.IPASecStore
|
||||
ldap_uri = $LDAP_URI
|
||||
|
||||
[/keys]
|
||||
handler = custodia.secrets.Secrets
|
||||
handler = ipaserver.custodia.secrets.Secrets
|
||||
allowed_keytypes = kem
|
||||
store = ipa
|
||||
@@ -11,7 +11,7 @@ import os
|
||||
import platform
|
||||
import warnings
|
||||
|
||||
from custodia.message.kem import KEY_USAGE_SIG, KEY_USAGE_ENC, KEY_USAGE_MAP
|
||||
from ipaserver.custodia.message.kem import KEY_USAGE_SIG, KEY_USAGE_ENC, KEY_USAGE_MAP
|
||||
|
||||
from jwcrypto.common import json_decode
|
||||
from jwcrypto.jwk import JWK
|
||||
|
||||
Reference in new issue
Block a user