On Tue, May 3, 2016 at 8:20 PM, Daniel Pocock <dan...@pocock.pro> wrote:
> > > On 03/05/16 15:55, Dashamir Hoxha wrote: > > On Tue, May 3, 2016 at 3:04 PM, Daniel Pocock <dan...@pocock.pro > > <mailto:dan...@pocock.pro>> wrote: > > > > I tried this with GnuPG 2.0.26 on Debian: > > > > $ gpg2 --card-edit --batch > > gpg: can't do this in batch mode > > > > > > You can try something like this: > > - > https://github.com/nyarly/simplekey/blob/master/commands/trust#L46-L50 > > or like this: > > - > https://github.com/dashohoxha/egpg/blob/master/src/cmd/key/renew.sh#L40-L47 > > Thanks for this feedback > > This is a list of all the things that I need to batch/manage from the > whiptail UI: > > gen-key (and get back the key ID) > > adduid > - GnuPG 2.1 has --quick-adduid > > adding more subkeys (addkey) > "--gen-key --batch" only creates one subkey > > gen-revoke > > card-edit (for setting PIN, etc) > > keytocard > I will keep an eye on your project and see how you manage to solve these. Is it on GitHub (so that I can watch you)?
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users