I make/created a file in my home folder for this key.
The name of the file is ' mandriva-free-2007-tyr-CD.x86_64.md5.asc.txt ' [root@c83-250-110-112 nissanka]# ls mandriva-free-2007-tyr-CD.x86_64.md5.asc.txt ---------------------------------------------------- [root@c83-250-110-112 nissanka]# gpg --import 'mandriva-free-2007-tyr-CD.x86_64.md5.asc.txt' gpg: no valid OpenPGP data found. gpg: Total number processed: 0 [root@c83-250-110-112 nissanka]# What is the problem? |
Stephen
I didn't download from the site you mentioned. I downloaded from the following Swedish FTP site. http://ftp.sunet.se/pub/Linux/distri...iso/x86_64/CD/ The file is the following one. mandriva-free-2007-tyr-CD.x86_64.md5.asc 31-Aug-2006 20:13 454 |
That file is only a "signed message". It's NOT a key file at all.
Cheers, Tink |
Quote:
Code:
>$ gpg --verify mandriva-free-2007-tyr-CD.i586.md5.asc |
Quote:
Are you a priest, an attendant in a child-care centre or an orderly in an old folks home or something? :} Cheers, Tink |
I thank Tinkster and HappyTux for the replies.
-------------------------------------------------------------- [root@c83-250-110-112 nissanka]# gpg --verify mandriva-free-2007-tyr-CD.x86_64.md5.asc.txt gpg: Signature made Wed 30 Aug 2006 11:48:17 PM CEST using DSA key ID 70771FF3 gpg: Can't check signature: public key not found [root@c83-250-110-112 nissanka]# --------------------------------------------------------------- Why did I got a different output? Why do I need to download that file? I must mull this over. The problem is that I have a limited knowledge of PGP or rather Gnupg. |
Because it's not a key-file. It's a signed message with the md5-sums
for the files in it. But I'm repeating myself. Cheers, Tink |
Quote:
Code:
>$ wget http://ftp.sunet.se/pub/Linux/distributions/mandrakelinux/devel/iso/x86_64/CD/mandriva-free-2007-tyr-CD.i586.md5.asc |
Quote:
|
I have successfully downloaded a key from a public key server. Please read the following.
----------------------------------------------------------------------- [root@c83-250-110-112 nissanka]# gpg --keyserver pgp.uk.demon.net --recv-keys A50083C5 gpg: requesting key A50083C5 from hkp server pgp.uk.demon.net gpg: key A50083C5: public key "haritha wijetunga (my key) <s3042602@student.rmit.edu.au>" imported gpg: Total number processed: 1 gpg: imported: 1 [root@c83-250-110-112 nissanka]# ------------------------------------------------------------------------- I invain tried to import it onto my key ring. [root@c83-250-110-112 nissanka]# gpg --import s3042602@student.rmit.edu.au gpg: can't open `s3042602@student.rmit.edu.au': No such file or directory gpg: Total number processed: 0 [root@c83-250-110-112 nissanka]# [root@c83-250-110-112 nissanka]# gpg --import A50083C5 gpg: can't open `A50083C5': No such file or directory gpg: Total number processed: 0 [root@c83-250-110-112 nissanka]# [root@c83-250-110-112 nissanka]# gpg --import "haritha wijetunga (my key) <s3042602@student.rmit.edu.au>" gpg: can't open `haritha wijetunga (my key) <s3042602@student.rmit.edu.au>': No such file or directory gpg: Total number processed: 0 [root@c83-250-110-112 nissanka]# [root@c83-250-110-112 nissanka]# gpg --import "haritha wijetunga <s3042602@student.rmit.edu.au>" gpg: can't open `haritha wijetunga <s3042602@student.rmit.edu.au>': No such file or directory gpg: Total number processed: 0 [root@c83-250-110-112 nissanka]# [root@c83-250-110-112 nissanka]# gpg --import " <s3042602@student.rmit.edu.au>" gpg: can't open ` <s3042602@student.rmit.edu.au>': No such file or directory gpg: Total number processed: 0 [root@c83-250-110-112 nissanka]# gpg --import "s3042602@student.rmit.edu.au" gpg: can't open `s3042602@student.rmit.edu.au': No such file or directory gpg: Total number processed: 0 [root@c83-250-110-112 nissanka]# [root@c83-250-110-112 nissanka]# gpg --import s3042602@student.rmit.edu.au gpg: can't open `s3042602@student.rmit.edu.au': No such file or directory gpg: Total number processed: 0 [root@c83-250-110-112 nissanka]# What is the problem? I tried all sorts of import commands. My understanding is that 'recv-keys' command just download the keys. Afterwards, 'import' command should use to attach it to the key ring. Please help me. |
I have successfully downloaded a key from a public key server. Please read the following.
----------------------------------------------------------------------- [root@c83-250-110-112 nissanka]# gpg --keyserver pgp.uk.demon.net --recv-keys A50083C5 gpg: requesting key A50083C5 from hkp server pgp.uk.demon.net gpg: key A50083C5: public key "haritha wijetunga (my key) <s3042602@student.rmit.edu.au>" imported gpg: Total number processed: 1 gpg: imported: 1 [root@c83-250-110-112 nissanka]# ------------------------------------------------------------------------- I invain tried to import it onto my key ring. [root@c83-250-110-112 nissanka]# gpg --import s3042602@student.rmit.edu.au gpg: can't open `s3042602@student.rmit.edu.au': No such file or directory gpg: Total number processed: 0 [root@c83-250-110-112 nissanka]# [root@c83-250-110-112 nissanka]# gpg --import A50083C5 gpg: can't open `A50083C5': No such file or directory gpg: Total number processed: 0 [root@c83-250-110-112 nissanka]# [root@c83-250-110-112 nissanka]# gpg --import "haritha wijetunga (my key) <s3042602@student.rmit.edu.au>" gpg: can't open `haritha wijetunga (my key) <s3042602@student.rmit.edu.au>': No such file or directory gpg: Total number processed: 0 [root@c83-250-110-112 nissanka]# [root@c83-250-110-112 nissanka]# gpg --import "haritha wijetunga <s3042602@student.rmit.edu.au>" gpg: can't open `haritha wijetunga <s3042602@student.rmit.edu.au>': No such file or directory gpg: Total number processed: 0 [root@c83-250-110-112 nissanka]# [root@c83-250-110-112 nissanka]# gpg --import " <s3042602@student.rmit.edu.au>" gpg: can't open ` <s3042602@student.rmit.edu.au>': No such file or directory gpg: Total number processed: 0 [root@c83-250-110-112 nissanka]# gpg --import "s3042602@student.rmit.edu.au" gpg: can't open `s3042602@student.rmit.edu.au': No such file or directory gpg: Total number processed: 0 [root@c83-250-110-112 nissanka]# [root@c83-250-110-112 nissanka]# gpg --import s3042602@student.rmit.edu.au gpg: can't open `s3042602@student.rmit.edu.au': No such file or directory gpg: Total number processed: 0 [root@c83-250-110-112 nissanka]# What is the problem? I tried all sorts of import commands. My understanding is that 'recv-keys' command just download the keys. Afterwards, 'import' command should use to attach it to the key ring. Please help me. |
Sorry for the duplication. Please remove the additional post.
|
For crying out loud... the first command didn't download it, it
imported it right away .... Cheers, Tink |
Tinkster
So if you use the following command, the 'import' command become redundant. [root@c83-250-110-112 nissanka]#gpg --keyserver pgp.uk.demon.net --recv-keys A50083C5 I didn't know it. ----------------------------------------------------------------------- All right. When I double clicked, I got the following: ----------------------------------------------------------------- Public Key Server -- Get ``0xA50083C5 '' -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 5.0 Comment: PGP Key Server 0.9.4+patch2+modifiedMWjumbopatch mQGiBEI3+bcRBACTTdfad4JHuyj0GBx/valg3cCIm5r3KOGKtwRPRePNZfaao+Ll 7kQaWBFXbNy4TZFgbJO41vib5rmhrLvDm9/NYiRq47h1kVH7cGF/Umujag8KBOHy pjdDDe6toKAC9A6VbEYbpm+o2+o9NZRr8sZOmT/RrMSjfmUA+AgvChF7owCg8Eqh cMISLsbp95llB9ghOIa6dL8D/1JujAZQmgf3g0Nn539hhiPvllH7tbjovBENFvvQ qI20WF1qswmXE0DNycXV+tmq06205pIzRfTD4aNo39a9EkIc6XrmY+n9OareGmK3 QvlwhNrKwuXKIdK+J1tt5+UI5oNTnWUlBipiDRAwVVE3fmFWCkBgLI4LZ3Po59P2 wo/1A/9JgGNwkiBSq9WGJl8X+FJCsZ8hQCR8OqWm4R4btTUqnvqwAYXHyU+FAoZU yyeHDznJaaqOIcon9CDS7yA4AB0pzriz6Bh/Yk5/Vv3kVjJ336dxI1wRB4ypSJHA 7zvgaroCq/1csponjx8thvbEr5+MsO3TO7hsAyErTQzgt17o07Q5aGFyaXRoYSB3 aWpldHVuZ2EgKG15IGtleSkgPHMzMDQyNjAyQHN0dWRlbnQucm1pdC5lZHUuYXU+ iF4EExECAB4FAkI3+bcCGwMGCwkIBwMCAxUCAwMWAgECHgECF4AACgkQf6+QVKUA g8WAowCg3AzSighhIgRlN1DBMMQw05QtrW4AoLzluiW2qloo5+TV5oJlwX00soDE uQINBEI3+fIQCADfYfo7xLCz9mUlp3H/LPydB5+siEliDdA77frUAb33hvVZUIs3 bk2NwMITtjcJ3ZuA/m475B6YHS5dZCHjoUuGqA1vPi5pR/DToZ3CnFkGUj0/xLj6 HwgdXwg3Y07xIlb5y6VOJHBX8cH+44pH8oopRKQZ12V79j8j5R6XcdaZtMRIcDFz X++FriNF0YiXgUcgifrR45wbcRNx3/VTudBn61Fl0Gi/IRoQnhGC6uWOvUIg6obE LOoRA7hyemQhye/So7PfVy+WiGotv/ygAvuJuR7TwktYHFkosKAIlsw+L/hNtyzC nDcHJbEfgzQm+y22Oxfg+uwpluPJ9+g8ZzXLAAMGB/0SBlJQQ1NFmBCCK3BNGSNc sFc3WEcuyoBUroBZ6Lcf4d2KIaCgy3vyP47utHT/Isy409YyTxnFrTftRTkrLmYP 9gegwf+3C4tqlqoLFz2KV7jvio6UiUCM1Q3IlvssyDBrGcMrKJAhTP+UdP9Jf1Lj jjZFaV4WNhUvFo5/P6moaIFiattP7I2WlxVCKwgs9Hc3FAiQfAe/6x2hhD6XTZ5P vyugr+h/5Sm1Qm+zEMc6HMg3HR22crgaPEPYWn92PdLLhjdguVjyU1xoWAx/LLHr xwtud8wmbeJdtY7CYIy12MO+9zawOdIz/XKm9TWZwGTW8XbhD8pnDcodNqdodZnm iEkEGBECAAkFAkI3+fICGwwACgkQf6+QVKUAg8XSZACg5YGioqd2HjQkcEShq0S5 dVXl/UUAoIrGKn97dj/X+TMA/bYUB1Y2FlZd =ZZ5a -----END PGP PUBLIC KEY BLOCK----- --------------------------------------------------------------------------- If I saved it, then I am forced to use the 'import' command. Please tell me if my understanding is incorrect. It seems there are several ways of playing with gpg. I must learn from you all. |
Quote:
Quote:
|
All times are GMT -5. The time now is 06:40 AM. |