Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346235 - Please add my notebook's pubkey for me
Summary: Please add my notebook's pubkey for me
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Developer account issues (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Infrastructure
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-20 23:37 UTC by Sebastian Pipping
Modified: 2011-03-09 23:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pipping gentoo-dev 2010-11-20 23:37:48 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDGc4IoOt35uxX66xzqfRy2jpYSurUjki0RYjZwI0vb2hBO2tm3enbnyz2LXLc2xm+PcSOx3RwigwWcxKhnl9P4l8PhbIBCyk3itckosxedEIQfsdZC/8dgo0kkHFSxg+PRKDDJHkiQH+e+t5xi3/iERwvwk5CVFcacS2Xo/VipYppXxcaMA8dGiuaXl5ezCB/v58Dn4VvzTDCxULAxw2Q4l9SqjzVy60dRd3bP8PBf1hD8Ggx5JIPGdlb0r6d6LCwZXyUdoaDXXOk8bTGYsV25d/lLddTF73ZqSItPdDEVHEd7yJzLNI2uwwFblog1/0bpCdhcWkPNwQJs6o8Ltl9f sping@sevendust+gentoo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)

iEYEARECAAYFAkzoWvwACgkQsAvGakAaFgC35QCdF8UeM6IYsTqDxWHIN9U974P4
4ooAoNFv4iiwydEVRQLZMFJt/qwcPlju
=jZmm
-----END PGP SIGNATURE-----
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2010-11-20 23:40:11 UTC
To what? LDAP? You can add it yourself.
Comment 2 Sebastian Pipping gentoo-dev 2010-11-20 23:46:38 UTC
(In reply to comment #1)
> To what? LDAP? You can add it yourself.

LDAP, yes.  I would, but perl_ldap says that option "-M" is for "single-valued attributes only" (which sounds like not suited for my case), plus I'm afraid to lock myself out, plus I have a very hard time using perl_ldap in general.

Could you help me out, at least with the command to run?
Comment 3 Christian Ruppert (idl0r) gentoo-dev 2010-11-20 23:53:03 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > To what? LDAP? You can add it yourself.
> 
> LDAP, yes.  I would, but perl_ldap says that option "-M" is for "single-valued
> attributes only" (which sounds like not suited for my case), plus I'm afraid to
> lock myself out, plus I have a very hard time using perl_ldap in general.
> 
> Could you help me out, at least with the command to run?
> 
Sure :)

You must create a new attribute. Overwriting (-M) is not possible.
http://www.gentoo.org/proj/en/infrastructure/ldap.xml

(substitute 'pubkey' with the path to your public SSH key. ex: "~/.ssh/id_dsa.pub". 
You should have one sshPublicKey attribute per key! No newlines!
Only replace <username>, not "user")
# perl_ldap -b user -C sshPublicKey "$(cat pubkey)" <username>
Comment 4 Sebastian Pipping gentoo-dev 2010-11-21 00:01:32 UTC
Worked, thank you!  Closing.