Strange error message when running pinentry-gtk-2
Jerome Baum
jerome at jeromebaum.com
Mon Dec 5 22:44:24 CET 2011
On 2011-12-05 22:33, Veet Vivarto wrote:
> is there a way to generate a new key with just one line at the command
> promt?
> using
> the "--gen-key" command starts a long process of promts, questions and
> answers.
> Is it possible to bypass all of this by providing the name email
> and other necessary information all in one line?
You can create a keyspec file and use that. Example command:
gpg --gen-key --no-tty --batch <keyspec
Example keyspec:
-----BEGIN-----
Key-Type: RSA
Key-Length: 2048
Subkey-Type: RSA
Subkey-Length: 2048
Name-Real: Foo bar <baz>
-----END-----
This is without passphrase, see gnupg docs for more details.
> The same question for changing the pass-phrase. Can this be done without
> going through a submenu?
Take a look at passphrase-fd, not sure if it works for this but worth a try.
--
PGP: A0E4 B2D4 94E6 20EE 85BA E45B 63E4 2BD8 C58C 753A
PGP: 2C23 EBFF DF1A 840D 2351 F5F5 F25B A03F 2152 36DA
--
Recht: Internet-freier Raum.
--
No situation is so dire that panic cannot make it worse.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 878 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20111205/bbf76243/attachment-0001.pgp>
More information about the Gnupg-devel
mailing list