This should really work with ssh public&#x2F;private keys¹. Public keys are probably already on the box the git server runs on, and users already have them generated to access git - no need to generate separate gpg keys.<p>If you have a github account the script could also get the pubkey directly from the github api...<p>¹<a href="http:&#x2F;&#x2F;superuser.com&#x2F;questions&#x2F;576506&#x2F;how-to-use-ssh-rsa-public-key-to-encrypt-a-text" rel="nofollow">http:&#x2F;&#x2F;superuser.com&#x2F;questions&#x2F;576506&#x2F;how-to-use-ssh-rsa-pub...</a>