]> gitweb.fluxo.info Git - hydra.git/commitdiff
New keys script: commit and push in the keyringer repo
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 8 Jul 2012 16:31:39 +0000 (13:31 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 8 Jul 2012 16:31:39 +0000 (13:31 -0300)
share/hydra/newkeys

index b69720856eec5b2e3bf45366af3d5179719661fc..3a3b68807839e1bf0316027c0951a263b35c27f3 100755 (executable)
@@ -34,6 +34,8 @@ function hydra_newkeys {
 function hydra_genpairs {
   keyringer $HYDRA genpair ssh $node/ssh/id_rsa $host $privkey
   keyringer $HYDRA genpair gpg $node/gpg/key    $host
+  keyringer $HYDRA git     commit
+  keyringer $HYDRA git     push
 
   # Add key into puppet git repository.
   ( cd $PUPPET_KEYS && git add $(basename $privkey) $(basename $pubkey) )