Non-interactively create subkey?

Hauke Laging mailinglisten at hauke-laging.de
Thu Mar 28 02:44:30 CET 2013


Am Mi 27.03.2013, 10:15:11 schrieb Jack Bates:
> How do I non-interactively create a new subkey?

echo addkey$'\n'8$'\n'e$'\n'q$'\n'2048$'\n'1y$'\n'save$'\n' | 
  LC_ALL=C gpg --expert --batch --passphrase foo --command-fd 0 \
    --edit-key $x_short_id


Hauke
-- 
☺
PGP: 7D82 FB9F D25A 2CE4 5241 6C37 BF4B 8EEF 1A57 1DF5 (seit 2012-11-04)
http://www.openpgp-schulungen.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 572 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20130328/81d789a3/attachment.sig>


More information about the Gnupg-users mailing list