aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2015-01-05 01:12:41 -0800
committerBrian Dolbec <dolsen@gentoo.org>2015-01-05 14:14:36 -0800
commitcf22af68362e06c110fe77d5120df8140668c675 (patch)
tree175c0870758c405a25bca3f689db652cf6fe143b /gkeys-ldap
parentgkeys: Add pub_keyid property to GKEY (diff)
downloadgentoo-keys-cf22af68362e06c110fe77d5120df8140668c675.tar.gz
gentoo-keys-cf22af68362e06c110fe77d5120df8140668c675.tar.bz2
gentoo-keys-cf22af68362e06c110fe77d5120df8140668c675.zip
gkeyldap/actions.py: Add generated default uid to seed data
Diffstat (limited to 'gkeys-ldap')
-rw-r--r--gkeys-ldap/gkeyldap/actions.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gkeys-ldap/gkeyldap/actions.py b/gkeys-ldap/gkeyldap/actions.py
index 45fff09..27c961d 100644
--- a/gkeys-ldap/gkeyldap/actions.py
+++ b/gkeys-ldap/gkeyldap/actions.py
@@ -182,6 +182,7 @@ class Actions(object):
keyinfo.pop('keyid', None)
keyinfo.pop('longkeyid', None)
keyinfo['keys'] = keyinfo['fingerprint']
+ keyinfo['uid'] = ["%s <%s@gentoo.org>" % (info['cn'][0], info['uid'][0])]
return keyinfo
return None