Gpg Unusable Public Key Error
Contents |
author ] Daniel Carrera wrote: > Hello, > > I'm having another problem, again not in the FAQ: > > sql.gz: encryption failed: unusable public key > > gpg encryption failed no public key This happens when I try to encrypt a file with my public key. pass gpg skipped no public key >
Gpg Extend Expiration Date
to either remote login and: $ gpg --edit 0x42713DE9 Command> trust Please decide how far you trust this user to correctly verify other users' keys (by looking at passports, checking fingerprints from different sources, etc.) 1 = I don't know or won't say 2 = I do NOT trust 3 = I trust marginally 4 = I trust fully 5 = I trust ultimately m = back to the main menu Your decision? 4 or add the option --trust-model always to your gpg exectution command, ie. $ gpg -a --homedir /path/to/.gnupg --trust-model always -r daniel at theingots.org --batch -o sql.asc -e sql.gz or add trust-model always to your .gnupg/gpg.conf file. HTH, -- Alphax | /"\ Encrypted Email Preferred | \ / ASCII Ribbon Campaign OpenPGP key ID: 0xF874C613 | X Against HTML email & vCards http://tinyurl.com/cc9up | / \ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 558 bytes Desc: OpenPGP digital signature Url : /pipermail/attachments/20060322/50181e0d/signature.pgp Previous message: Error: "unusable public key" Next message: Error: "unusable public key" Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the Gnupg-users mailing list
Post #1 of 9 (7506 views) Permalink Error with encrypting: unusable public key Hi all,
Gpg Batch Unusable Public Key
I keep getting an error trying to encrypt to the key gpg: no valid addressees 0xCC21E10F. The key is self-signed, gpg --check-sigs does not complain, but still when I try to encrypt gpg trust public key I get: gpg: 0xCC21E10F: skipped: unusable public key I am using gpg 1.4.5 on a Linux box (SuSE 10.2). Could this be a matter of algorithms? The key https://lists.gnupg.org/pipermail/gnupg-users/2006-March/028216.html is available on the keyservers. Thanks for help, Olaf -- Dipl.Inform. Olaf Gellert INTRUSION-LAB.NET Senior Researcher, www.intrusion-lab.net PKI - and IDS - Services olaf.gellert [at] intrusion-lab _______________________________________________ Gnupg-users mailing list Gnupg-users [at] gnupg http://lists.gnupg.org/mailman/listinfo/gnupg-users twoaday at gmx Mar2,2007,12:57AM Post #2 of 9 (7440 views) Permalink Re: Error with encrypting: unusable public key [In reply to] Olaf Gellert http://www.gossamer-threads.com/lists/gnupg/users/39873 wrote: > 0xCC21E10F. The key is self-signed, gpg --check-sigs > does not complain, but still when I try to encrypt > I get: > > gpg: 0xCC21E10F: skipped: unusable public key pub 2048R/CC21E10F created: 2006-11-21 expires: never usage: SC This is the information given in --edit-key. And the usage is the solution for your problem. It has *no* capability to encrypt data. Timo _______________________________________________ Gnupg-users mailing list Gnupg-users [at] gnupg http://lists.gnupg.org/mailman/listinfo/gnupg-users olaf.gellert at intrusion-lab Mar2,2007,1:43AM Post #3 of 9 (7418 views) Permalink Re: Error with encrypting: unusable public key [In reply to] Timo Schulz wrote: > pub 2048R/CC21E10F created: 2006-11-21 expires: never usage: SC > > This is the information given in --edit-key. And the usage > is the solution for your problem. > It has *no* capability to encrypt data. Thanx, I missed that. So this is one of the "sign only" keys and to enable encryption, one would add an encryption only subkey? Olaf -- Dipl.Inform. Olaf Gellert INTRUSION-LAB.NET Senior Researcher, www.intrusion-lab.net PKI - a
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site http://askubuntu.com/questions/691050/error-using-gpg-encryption-in-evolution About Us Learn more about Stack Overflow the company Business Learn more about https://bugs.kde.org/show_bug.cgi?id=52021 hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best public key answers are voted up and rise to the top Error using GPG encryption in Evolution up vote 1 down vote favorite After I did fresh install of Ubuntu 15.10 I had to setup GPG encryption with Evolution again and it is not working properly (prior to fresh install it worked fine on Ubuntu 15.04 After I select Option > GPG encrypt I am getting this error: Because unusable public key "gpg: CEF41E5C: skipped: unusable public key gpg: [stdin]: encryption failed: unusable public key ", you may need to select different mail options. How to fix this error? thanks in advance :) evolution gnupg openpgp share|improve this question edited Oct 31 '15 at 10:21 asked Oct 28 '15 at 12:58 edward torvalds 3,60032659 What does gpg -K print? –Jens Erat Oct 28 '15 at 14:41 @JensErat it prints this sprunge.us/FdaB –edward torvalds Oct 28 '15 at 15:54 This tells your private key should be available. Some days ago there was another post with similar problems, but not necessarily a duplicate (although chances are high): askubuntu.com/questions/690548/… –Jens Erat Oct 28 '15 at 18:57 From GnuPG, and especially to Enigmail. gpg -K (or the long version gpg --list-secret-keys) prints the secret keys available in your key chain. –Jens Erat Oct 29 '15 at 8:39 @JensErat see my answer, dont forget to vote up :) –edward torvalds Oct 31 '15 at 4:32 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote accepted I found the solution by myself. You have two keys, one is pub and
skipped: unusable public key Status CLOSED WORKSFORME Product: kmail Classification: Unclassified Component: encryption Version: 1.4.3 Platform: openSUSE RPMs Linux Importance: NOR normal (vote) TargetMilestone: --- Assigned To: kdepim bugs URL: Keywords: Depends on: Blocks: Show dependency tree /graph Reported: 2002-12-17 13:42 UTC by J Modified: 2007-09-14 12:17 UTC (History) CC List: 0 users See Also: Latest Commit: Version Fixed In: Description J 2002-12-17 13:42:07 UTC Version: 1.4.3 (using KDE KDE 3.0.4) Installed from: SuSE RPMs OS: Linux He, when using gpg, sign mails works perfect, and encryption worked with kde for SuSe 8.0 correct, too. But now with SuSE 8.1 i got the following error message when trying to encrypt a message with a fully trustet gpg key: gpg:warning:using unsecure memory gpg:please see www.gnupg.org/faq.html for more details gpg: