LinuxQuestions.org
Help answer threads with 0 replies.
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 01-20-2017, 07:44 PM   #1
Slakerlife
Member
 
Registered: May 2016
Location: somewhere in the world!
Distribution: slackware
Posts: 66

Rep: Reputation: Disabled
verifying .sig file from keepassx


Hi

I'm having so difficulty verifying the .sig file from keepassx, so this is what I have done
1. downloaded keepassx-2.0.3.tar.gz and keepassx-2.0.3.tar.gz.sig
2. type $ gpg --verify keepassx-2.0.3.tar.gz.sig
gpg: assuming signed data in `keepassx-2.0.3.tar.gz'
gpg: Signature made Sun 04 Sep 2016 02:51:46 PM MDT using RSA key ID 83135D45
gpg: Can't check signature: public key not found

so then I tried
3. $ gpg --recv-keys 83135D45
gpg: no keyserver known (use option --keyserver)
gpg: keyserver receive failed: bad URI

4. I did try the --keyserver option but I dont think keepass has a keyserver
gpg: requesting key 83135D45 from hkp server keepassx.org
but nothing happens not even after a couple of minutes

I have tried lots of suggestion on line but nothing work, I hope someone can help me

Last edited by Slakerlife; 01-20-2017 at 09:44 PM.
 
Old 01-20-2017, 11:51 PM   #2
MadMaverick9
Member
 
Registered: Aug 2010
Posts: 353
Blog Entries: 4

Rep: Reputation: Disabled
Search @DuckDuckGo 'public key "83135D45"'
Click "How to Check KeepassX .sig Signatures With GnuPG"
Do:
Code:
bash:~$ gpg --keyserver pgpkeys.mit.edu --recv-key 83135D45
gpg: requesting key 83135D45 from hkp server pgpkeys.mit.edu
gpg: key 83135D45: public key "Felix Geyer <felix@fobos.de>" imported
gpg: key 83135D45: public key "Felix Geyer <felix@fobos.de>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 2
gpg:               imported: 2  (RSA: 2)
bash:~$
Verify file.
 
Old 01-21-2017, 10:08 AM   #3
Slakerlife
Member
 
Registered: May 2016
Location: somewhere in the world!
Distribution: slackware
Posts: 66

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by MadMaverick9 View Post
Hello, thanks for the replay, yes I say that website will trying to find a solution, but at the time I didn't understand why the author was sending me to "pgpkeys.mit.edu" but after you posted I did some research and found that MIT is a host of pgp keys for other projects or at least that what I think, then I realized that I can also use http://keyserver.ubuntu.com/ and I believe debian also has a keyserver, hopefully im right

I was wondering, does slackware host a keyserver for others?

Last edited by Slakerlife; 01-21-2017 at 10:36 AM. Reason: had another question
 
Old 01-21-2017, 11:29 AM   #4
Slakerlife
Member
 
Registered: May 2016
Location: somewhere in the world!
Distribution: slackware
Posts: 66

Original Poster
Rep: Reputation: Disabled
hopefully no one finds this questions dumb as im still learning and would like to do think properly. ok so know that I can verify the package what is the correct command to verify is it just the .sig file by itself as my first output or is it with .sig and the tar file like my second output? I don't see what the difference is

Code:
bash-4.3$ gpg --verify keepassx-2.0.3.tar.gz.sig
gpg: assuming signed data in `keepassx-2.0.3.tar.gz'
gpg: Signature made Sun 04 Sep 2016 02:51:46 PM MDT using RSA key ID 83135D45
gpg: Good signature from "Felix Geyer <felix@fobos.de>"
gpg:                 aka "Felix Geyer <debfx@fobos.de>"
gpg:                 aka "Felix Geyer <debfx@ubuntu.com>"
gpg:                 aka "Felix Geyer <debfx@kubuntu.org>"
gpg:                 aka "Felix Geyer <fgeyer@debian.org>"
gpg:                 aka "Felix Geyer <debfx-pkg@fobos.de>"
gpg:                 aka "Felix Geyer <felix.geyer@fobos.de>"
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: 164C 7051 2F79 2947 6764  AB56 FE22 C6FD 8313 5D45
or should I add the package after the .sig file like this

Code:
bash-4.3$ gpg --verify keepassx-2.0.3.tar.gz.sig keepassx-2.0.3.tar.gz
gpg: Signature made Sun 04 Sep 2016 02:51:46 PM MDT using RSA key ID 83135D45
gpg: Good signature from "Felix Geyer <felix@fobos.de>"
gpg:                 aka "Felix Geyer <debfx@fobos.de>"
gpg:                 aka "Felix Geyer <debfx@ubuntu.com>"
gpg:                 aka "Felix Geyer <debfx@kubuntu.org>"
gpg:                 aka "Felix Geyer <fgeyer@debian.org>"
gpg:                 aka "Felix Geyer <debfx-pkg@fobos.de>"
gpg:                 aka "Felix Geyer <felix.geyer@fobos.de>"
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: 164C 7051 2F79 2947 6764  AB56 FE22 C6FD 8313 5D45
thanks

Last edited by Slakerlife; 01-21-2017 at 11:33 AM. Reason: added some words
 
Old 01-21-2017, 11:43 AM   #5
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Don't overthink it. There's no practical difference.

If you run gpg --verify something.tar.gz, gpg will look for something.tar.gz.sig
If you run gpg --verify something.tar.gz.sig, gpg will look for something.tar.gz

There's no point specifying both.
 
1 members found this post helpful.
Old 01-21-2017, 12:54 PM   #6
Slakerlife
Member
 
Registered: May 2016
Location: somewhere in the world!
Distribution: slackware
Posts: 66

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 55020 View Post
Don't overthink it. There's no practical difference.

If you run gpg --verify something.tar.gz, gpg will look for something.tar.gz.sig
If you run gpg --verify something.tar.gz.sig, gpg will look for something.tar.gz

There's no point specifying both.
that really clears it up, I was following an example where it listed both but now I know the difference, thanks!
 
  


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] windows KeepassX not compatible with Linux KeepassX andrew.comly Linux - Security 3 04-22-2015 09:45 AM
[SOLVED] how to verify file with gpg when you've to made .sig file yourself roberto32 Linux - Security 1 01-31-2014 09:41 AM
keepassx-git or keepassx-svn? Mr. Alex Arch 2 01-26-2012 09:06 AM
ptrace(PTRACE_CONT, sig) kills app even if sig is blocked ocstjf Linux - Kernel 0 04-21-2008 03:17 PM
verifying srpms vs rpms w/ gpg sig ergo_sum Linux - Newbie 0 02-06-2004 09:04 PM

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

All times are GMT -5. The time now is 03: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