Map dev's GKEY keyring field to ldap's uid.
authorBrian Dolbec <dolsen@gentoo.org>
Sun, 23 Jun 2013 07:01:27 +0000 (00:01 -0700)
committerBrian Dolbec <dolsen@gentoo.org>
Sun, 23 Jun 2013 07:01:27 +0000 (00:01 -0700)
gkeyldap/search.py

index 32e326b2b1589e5a99cecb0af73835fc60cf971a..169124faf6ebffdbc5b498c06ec99a757dab10aa 100644 (file)
@@ -24,7 +24,9 @@ gkey2ldap_map = {
     'name': 'cn',
     'keyid': 'gpgkey',
     'longkeyid': 'gpgkey',
-    'keyring': '',
+    # map the uid to keyring, since we want
+    # dev keyrings to be separate from each other
+    'keyring': 'uid',
     'fingerprint': 'gpgfingerprint'
 }
 # Sanity check they are in sync