LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-08-2010, 06:01 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.

Last edited by stf92; 08-08-2010 at 06:03 PM.
 
Old 08-09-2010, 11:31 PM   #2
alan99
Member
 
Registered: Mar 2010
Distribution: Debian
Posts: 180

Rep: Reputation: 31
You don't really have to do anything with it if you don't want to.
If you trust the source of the package, you can just use it, otherwise
you have to find and download the public key of the source of the software to verify that
the software is from who you think it is and hasn't been tampered with.
 
Old 08-12-2010, 04:08 AM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Hi alan99 and forgive my delay. I now understand. I thought the PGP signature was about checking the received file was an exact copy of the sent file. Kind of a checksum. I now see I was wrong. But then why does slackbuilds not send a checksum in addition to the .asc file? Well, thanks for your kind reply.
 
Old 08-12-2010, 06:16 PM   #4
alan99
Member
 
Registered: Mar 2010
Distribution: Debian
Posts: 180

Rep: Reputation: 31
Quote:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.14 (GNU/Linux)

mQGiBEW7wrQRBACGHoowXtnvW1U6Edzscu7vv1ZOnt62bAWlSp6wrHowfu7ienyI
/VsqEnu+X0H850Nq7Lv1xWPWurkTnuyTGJaP58206xM0GjG7nhGrh8N1kYQ0P0oI
lXgUnHu0mpjixHfjpzztwfS5Z6vBMJeKVbV4Bme5eelvcFNle5RtihwpUwCgwP0B
EzkyLvxfJEPZwTeq+3Cd3f8D/jdhWv5dOw/zdyiDVenZyfK171K6HS3fNNaphDqR
faow5P7v9iZeRnXtEz7eMcEPYEciAjeQhb1JdUut+8yL5uDNvmrD3hYnEwHk6Ncl
mVy3KDbWdxO+obU5uYpBYyY11sjpil5nF+af2wY5zkNAvR2+Y0mWQjCJ6Qt0Q+xR
+zdwA/0VNfH30DGgvYfU6uByIqGRcgqR7qYJiauvkr6NlGZFGz0qYUu1rhvwEmdI
7rLYsx8GnV9YSsCn34yJoXm8B9BTuYNbwfiiVW5TZw8i5dxv7HSkBchrDlCKJhDi
VjM2WFk68x2urSJCygm9Vm3rkGFn2KlGZlcz3Wd4mdfW8F059rREU2xhY2tCdWls
ZHMub3JnIERldmVsb3BtZW50IFRlYW0gPHNsYWNrYnVpbGRzLWRldmVsQHNsYWNr
YnVpbGRzLm9yZz6IRgQQEQIABgUCRbvMVgAKCRDx1ZeZdrIMLE/6AJ4nDWfamMAH
Z5zWW8tyzj2ZmGyIYwCeN6NNf3aaSt7H9lot0tCERdF2YV+IRgQQEQIABgUCRbvO
jQAKCRBeVqqvp1y9oGOpAJ49nXc7Re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e5pxLVCfz
lfVHg11dJwOu47O4YZgZNugQMye7qGD29qo2BxiPYceCV0FhpSd5IeYD+Z2hOhTo
yAadWEHajLCbXtI0GaIr3OcjA3Qv7iYPJr6yyEulypJ/t62HFITAHCYu7Koo3HoS
LE8/DW8XsFkCYNSZUB3QjLSDlMmkkiTTXir79A94lEGrD+QOnkz1NhTjhQxhyl0P
EgoL371P3G5vQaRDFKFiN+0p8qpVJJbkHsrL4t3PDk71qCOkAMfe/zanrs5/yWuc
k6G3WJmMs56EO23dRWK4Da6SCbfliwVKd8ZKaUm09ChpRaf13ohJBBgRAgAJBQJF
u8LQAhsMAAoJEANo71ece6O2MYEAnAwq32EdW1TQ4SPrKVBrCDCvacI2AJ0fJ6sR
sznGAOmqpiyZ5f0968vKuQ==
=HvxO
-----END PGP PUBLIC KEY BLOCK-----
Here is the public key using key ID 9C7BA3B6 unfortunately my check on the signature said it was bad, but you can try it yourself.
 
Old 08-12-2010, 06:43 PM   #5
alan99
Member
 
Registered: Mar 2010
Distribution: Debian
Posts: 180

Rep: Reputation: 31
I was looking on the Slackware-build repository and I guess the reason there is no MD5 checksum is that you have to get the source code from the Mplayer site. I think the package they have there is just for a theme for it, unless I am mistaken. I don't know whether that is were you got it, or from some third party.
 
Old 08-12-2010, 07:03 PM   #6
alan99
Member
 
Registered: Mar 2010
Distribution: Debian
Posts: 180

Rep: Reputation: 31
ps, I tried downloading those two files (don't know if they were the same version as yours), and the signature did check out (not using comand line) I have gpa and seahorse installed and after importing the public key all I have to do is double click on the signature in nautilus and a box pops up telling me the signature is valid.
 
Old 08-12-2010, 11:30 PM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Hi:

In slackbuilds.org, using the Search feature, you can search for 'mplayer' and slack version '12.0'. You'll be presented with a link for mplayer for 12.0. Clicking, you'll find three files: the sources packages with MD5 checksum displayed beside the link, the package containing the slackbuilds script (MPlayer.tar.gz) and a PGP signature file for that package (MPlayer.tar.gz.asc). But no MD5 checksum for MPlayer.tar.gz.

However, I learn in wikipedia PGP can also do integrity checking of plain text, besides determining whether the sender is the claimed sender.

Enrique.
 
  


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
[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 ed_norton Linux - Newbie 5 04-14-2004 03:06 AM
file Signatures ? juanb Linux - Newbie 2 03-19-2004 03:10 PM
Bad Signatures basttrax Linux - Newbie 9 02-12-2004 06:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:05 AM.

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