gpg --no-default-keyring --secret-keyring foo.sec problem

lego lego
Thu Mar 7 08:55:02 2002


i'm trying this from the doc/DETAILS

$ cat >foo <<EOF
     %echo Generating a standard key
     Key-Type: DSA
     Key-Length: 1024
     Subkey-Type: ELG-E
     Subkey-Length: 1024
     Name-Real: Joe Tester
     Name-Comment: with stupid passphrase
     Expire-Date: 0
     Passphrase: abc
     %secring foo.sec
     # Do a commit here, so that we can later print
"done" :-)
     %echo done
$ gpg --batch --gen-key -a foo
$ gpg --no-default-keyring --secret-keyring foo.sec \

but instead of this output:
sec  1024D/915A878D 2000-03-09 Joe Tester (with stupid
passphrase) <>
ssb  1024g/8F70E2C0 2000-03-09

i just got this:
gpg: Warning: using insecure memory!
gpg: /home/peter/.gnupg/foo.sec: keyring created
gpg: /home/peter/.gnupg/ keyring created

i tried to sign files using foo.sec but it won't work
it seems that the keyrings are not even open...

can anyone help me please?

Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!