LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-08-2010, 09:54 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
PGP signatures.


Hi:

I have a file MPlayer.tar.gz (a slackbuild) and it came along with MPlayer.tar.gz.asc, whose contents is this:
Code:
root@darkstar:/big/store1/soft/mplayer/mplayerhq# cat MPlayer.tar.gz.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQBH3qifA2jvV5x7o7YRAp2rAJ0fQMB8wgePyGNqaBZqx1l3EpzMywCeIScD
sDj2Sn+F8aSxaqy4GPGHRD8=
=RMWi
-----END PGP SIGNATURE-----
root@darkstar:/big/store1/soft/mplayer/mplayerhq#


Code:
root@darkstar:/big/store1/soft/mplayer/mplayerhq# gpgv MPlayer.tar.gz.asc
gpgv: keyblock resource `/root/.gnupg/trustedkeys.gpg': general error
gpgv: Signature made Mon 17 Mar 2008 02:21:35 PM ART using DSA key ID 9C7BA3B6
gpgv: Can't check signature: public key not found
You see what I did. But it is evident I'm doing something wrong (I'd say, all wrong). What do I do with the .asc? Thanks in advance.

EDIT: in another post I saw somebody using gpg. I tried but it failed too.
__________________
I would be much obliged to you if you point out my mistakes in English.
La
 
Old 08-08-2010, 10:29 PM   #2
saivinoba
Member
 
Registered: Oct 2007
Distribution: FreeBSD, Slackware
Posts: 48

Rep: Reputation: 9
Hi stf92,
You should first have the public key of the packager. Supposing you are using slackbuilds.org, here is the link http://slackbuilds.org/GPG-KEY. Once you have the public key, be in the directory which has both tar.gz and the tar.gz.asc files and run
Code:
gpg --verify MPlayer.tar.gz.asc
If I'm not wrong, 'gpgv' is wrong I referred this: http://slackbuilds.org/faq/#asc

Last edited by saivinoba; 08-08-2010 at 10:31 PM.
 
Old 08-08-2010, 10:37 PM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Hi:

Thanks. I already downloaded GPG-KEY from slackbuilds. I put it in the directory with the .gz and the .gz.asc but still 'gpg --verify MPlayer.tar.gz.asc' gives error. Regards.
 
Old 08-08-2010, 10:40 PM   #4
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Try this first
Code:
gpg --fetch-keys  http://slackbuilds.org/GPG-KEY
and then
Code:
gpg --verify MPlayer.tar.gz.asc
 
1 members found this post helpful.
Old 08-08-2010, 10:50 PM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
I did it:
Code:
root@darkstar:/home/semoi/Desktop# gpg --verify MPlayer.tar.gz.asc
gpg: Signature made Mon 17 Mar 2008 02:21:35 PM ART using DSA key ID 9C7BA3B6
gpg: Good signature from "SlackBuilds.org Development Team <slackbuilds-devel@slackbuilds.org>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: D307 6BC3 E783 EE74 7F09  B8B7 0368 EF57 9C7B A3B6
root@darkstar:/home/semoi/Desktop#
Although I expected a more satisfying message or no message at all. Well, but I think I can now trust the transmited file MPlayer.tar.gz. Thank you very much.
 
Old 08-09-2010, 07:12 AM   #6
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by stf92 View Post
I did it:

Although I expected a more satisfying message or no message at all.
If you want a more satisfying message, you need to generate your own public/private GPG key and then sign the Slackbuilds.org public key with your own private key.

This command:

Code:
gpg --gen-key
will get you started.

Check out the GPG mini-how-to for a great introduction. It's what I rely on when I'm working my way through GPG.

Also, KDE's KGPG utility is a great graphical front end for GPG.

Regards,
 
1 members found this post helpful.
Old 08-09-2010, 11:34 AM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
It's been very kind of you. Thank you very much.
 
Old 08-09-2010, 11:41 AM   #8
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by stf92 View Post
It's been very kind of you. Thank you very much.
You're welcome. By the way, here's the same file in Spanish.

Regards,
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PGP signatures. stf92 Linux - Software 6 08-12-2010 11:30 PM
[SOLVED] PGP-Signatures on SuSE 11.1 DVD: How to use them? JZL240I-U SUSE / openSUSE 2 06-04-2010 06:52 AM
signatures paul62 LQ Suggestions & Feedback 2 12-11-2005 06:54 PM
bad signatures dolphans1 Mandriva 8 11-25-2005 12:38 PM
bad signatures ed_norton Linux - Newbie 5 04-14-2004 03:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration