Automating the generation of master keys

2016-06-01 Thread Aurélien Vallée
Hello, I would like to automate the generation of GPG master keys (I have hundreds of smartcards to configure for employees). I'm using the default GPG from CentOS 7 (gnupg 2.0.22). Ideally, I would like to have: - 1 masterkey with only the "certify" usage, stored offline. - 1 subkey with only "e

Re: Automating the generation of master keys

2016-06-01 Thread Aurélien Vallée
ecause you assume that there is only one gpg > command running (actually any process with a string '--edit-key'). > > BTW, Unix people use this trick to avoid the inverse grep: > > grep -e '--edit-ke[y]' > > > > Shalom-Salam, > >Werner >

Re: Automating the generation of master keys

2016-06-02 Thread Aurélien Vallée
ple of this is the batch mode of key generation. > > But I know that this is not possible right now. Even if extended batch mode > is planed to be implemented, it will not be there before version 2.2 or 3.0 > For the time being I am satisfied with what we have. > > Shalom-Salam, &g