Changes to make it easier for ProtoGeni users!
* When generating an encrypted SSL certificate, derive an SSH public key from the private key and store in the pubkeys table for the user. Note that SSH version 2 RSA keys are actually just openssl RSA keys, and that ssh-keygen can extract an ssh compatible public key from it. * Change getsslcert.php3 to return the ssh private and public key when give the "ssh" boolean argument. This is mostly for the benefit of Flack; we probably need a better UI for the user to get this stuff. * Remove the requirement that users must upload an SSH key to use protogeni, since we now create one for them when they create their encrypted SSL certificate. * Some cleanup; instead of looking at the comment field to determine what pubkeys are Emulab created (and should not be deleted), use new internal and nodelete flags.
Showing
- account/addpubkey.in 34 additions, 12 deletionsaccount/addpubkey.in
- account/mkusercert.in 40 additions, 1 deletionaccount/mkusercert.in
- account/newuser.in 1 addition, 6 deletionsaccount/newuser.in
- account/tbacct.in 1 addition, 1 deletionaccount/tbacct.in
- db/User.pm.in 16 additions, 14 deletionsdb/User.pm.in
- www/dbdefs.php3.in 4 additions, 1 deletionwww/dbdefs.php3.in
- www/deletepubkey.php3 18 additions, 4 deletionswww/deletepubkey.php3
- www/getsslcert.php3 36 additions, 10 deletionswww/getsslcert.php3
- www/joinproject.php3 5 additions, 7 deletionswww/joinproject.php3
- www/newproject.php3 5 additions, 7 deletionswww/newproject.php3
- www/showpubkeys.php3 16 additions, 9 deletionswww/showpubkeys.php3
Loading
Please register or sign in to comment