URL: https://github.com/freeipa/freeipa/pull/187 Author: tiran Title: #187: Register entry points of Custodia plugins Action: synchronized
To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/187/head:pr187 git checkout pr187
From 2968eeae15ecb9ccecc24e22711bce3aa385c21f Mon Sep 17 00:00:00 2001 From: Christian Heimes <[email protected]> Date: Wed, 26 Oct 2016 11:14:06 +0200 Subject: [PATCH] Register entry points of Custodia plugins With setuptools in place FreeIPA is able to register its Custodia plugins. Custodia 0.1 ignores the plugins directives. Custodia 0.2 uses the entry points to discover plugins. Signed-off-by: Christian Heimes <[email protected]> --- ipapython/setup.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ipapython/setup.py b/ipapython/setup.py index 47acdd6..28937eb 100755 --- a/ipapython/setup.py +++ b/ipapython/setup.py @@ -38,4 +38,12 @@ "ipapython.secrets", "ipapython.install" ], + entry_points={ + 'custodia.authorizers': [ + 'IPAKEMKeys = ipapython.secrets.kem:IPAKEMKeys', + ], + 'custodia.stores': [ + 'iSecStore = ipapython.secrets.store:iSecStore', + ], + }, )
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code
