Few questions
Markus Gruber
Markus.Gruber at ilo.baynet.de
Wed Jul 22 15:36:35 CEST 1998
Hello,
I'm new to GPG and have some questions
1) gpg-pgp5 interoperation.
- I generated a "DSA and ElGamal (default)" key, which is the PGP5 compatzible
one (am I right?). GPG uses this key for all actions (encrypt, encrypt-sign
...).
Now I exported the key into a binary-keyfile (armored keys don't get parsed by
PGP5) and called pgpk -a <keyfile> to add the key to PGP5's keyring:
--------------------------------------------------------
markus at poro:/opt/home/markus > pgpk -a hugo.pgp
Adding keys:
Key ring: 'hugo.pgp'
Type Bits KeyID Created Expires Algorithm Use
pub 1024 0xA0643A55 1998-07-22 ---------- DSS Sign only <--
sub 1024 0xA268D25C 1998-07-22 ---------- Diffie-Hellman
uid Markus Gruber (This is me) <markus.gruber at ilo.baynet.de>
1 matching key found
Add these keys to your keyring? [Y/n] y
Keys added successfully.
---------------------------------------------------------
PGP5 saves the key for sign-only use, but not for encrypting.
---------------------------------------------------------
markus at poro:/opt/home/markus > pgpe -r 0xA0643A55 test
No encryption keys found for: 0xA0643A55
No valid keys found for any recipients, exiting...
---------------------------------------------------------
When I sign the test file with "gpg --sign -a test", and pass it thru pgp5, I
get:
---------------------------------------------------------
markus at poro:/opt/home/markus > pgpv test.asc
Opening file "/dev/null" type text.
---------------------------------------------------------
Am I doing something wrong?
How need things to be setup to get full interoperation (encrypt, encrypt-sign,
sign) working?
I hope I haven't bored you with this potentially stupid question.
2) A passphrase argument
It would be nice, if the passphrase can be passed to gpg as a commandline
argument in batchmode (like pgps ... -z <passphrase>).
I did not found the possibility yet. It would be easier then to integrate gpg
into a mailer like exmh.
Thanks for the great work,
Markus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 256 bytes
Desc: not available
Url : /pipermail/attachments/19980722/55315f99/attachment.bin
More information about the Gnupg-devel
mailing list