Re: Decryption w/o public key does not work in GnuPG 2.3.2

2021-08-26 Thread Werner Koch via Gnupg-users
Hi! On Wed, 25 Aug 2021 21:36, Thomas Cage said: > I have installed the new 2.3.2 version which supports "decryption w/o > public key but with correct card inserted" with commit 50293ec2eb. The description is a bit too brief. What we do is to lookup the key on a configured LDAP server. This al

Re: decryption failed: No pinentry

2021-05-31 Thread Christopher Richardson via Gnupg-users
> On 31. 5. 2021, at 12:30, Andreas Mattheiss > wrote: > > I don't have any pinentry defined in any of my settings in .gnupg/ neither. FYI for the archives, this was the problem. ~/.gnupg/gpg-agent.conf had the following entry: pinentry-program /usr/local/MacGPG2/libexec/pinentry-mac.app/

Re: decryption failed: No pinentry

2021-05-31 Thread Christopher Richardson via Gnupg-users
> On 31. 5. 2021, at 12:30, Andreas Mattheiss > wrote: > > Am Mon, 31 May 2021 07:59:35 +0200 schrieb Christopher Richardson via > Gnupg-users: > >> This is probably something very trivial, but Im building gpg for the >> first time since, apparently, 2013, according to my old binary. The bui

Re: decryption failed: No pinentry

2021-05-31 Thread Andreas Mattheiss
Hello, Am Mon, 31 May 2021 07:59:35 +0200 schrieb Christopher Richardson via Gnupg-users: > This is probably something very trivial, but Im building gpg for the > first time since, apparently, 2013, according to my old binary. The build > seems fine, but ... > a bit of a longshot, but if your p

Re: Decryption stalling after SIGINT

2020-07-09 Thread Werner Koch via Gnupg-users
On Tue, 7 Jul 2020 18:05, Andrew Pennebaker said: > I am seeing some strange behavior with gpg --decrypt . I had to > lookup a password recently, and so naturally pressed Control+C to cancel > the prompt. However, when gpg terminated, it did not fully cleanup the This will terminate gpg and thus

Re: Decryption stalling after SIGINT

2020-07-08 Thread Ángel
On 2020-07-07 at 18:05 -0500, Andrew Pennebaker via Gnupg-users wrote: > Hello, > > > I am seeing some strange behavior with gpg --decrypt . I had to > lookup a password recently, and so naturally pressed Control+C to > cancel the prompt. However, when gpg terminated, it did not fully > cleanup t

Re: Decryption fails with "No secret key"

2020-01-06 Thread Gabriele Pohl
Hi Ingo, On Sun, 05 Jan 2020 16:17:04 +0100 Ingo Klöcker wrote: with your recipe > all you have to do is to remove the file ~/.gnupg/.gpg-v21-migrated the missing secret key was migrated again and decryption is possible now :-) The key listing now shows: --- snip --- Secret

Re: Decryption fails with "No secret key"

2020-01-05 Thread Ingo Klöcker
On Freitag, 3. Januar 2020 13:53:00 CET Gabriele Pohl wrote: > After upgrading my PC to Fedora 30 [...] > a problem with decrypting came up. > > Encryption works: > > $ gpg --verbose --output test.txt.gpg --recipient cont...@dipohl.de > --encrypt test.txt [...] > gpg: RSA/AES256 encrypted for: "4

Re: decryption failed: secret key not available

2019-11-09 Thread Ingo Klöcker
On Samstag, 9. November 2019 01:42:47 CET Bobby Richardson (bobbyric) wrote: > Hello: > > I need a help in my gpg decryption with crontab. > Recently my gpg decryption with crontab started failing. What did you change recently? > If I do gpg decryption without crontab, it works fine. cron provi

Re: decryption failed: Bad session key

2019-01-21 Thread Peter Lebbing
On 20/01/2019 22:26, Frank Hrebabetzky wrote: > It took me quite some time until I got aware of this. A term like > "key" or "encryption key" would have made it easier for me, the > "session" was somewhat misleading. Yes, it is somewhat unfortunate. It is due to the mechanics of symmetrically-encr

Re: decryption failed: Bad session key

2019-01-21 Thread Frank Hrebabetzky
On 1/20/19 5:34 PM, Peter Lebbing wrote: Hi Frank, On 03/01/2019 15:25, Frank Hrebabetzky wrote: gpg: AES256 encrypted data gpg: encrypted with 1 passphrase gpg: decryption failed: Bad session key This is also the error message you get when you specify the wrong passphrase. Perhaps you mistyp

Re: decryption failed: Bad session key

2019-01-20 Thread Peter Lebbing
Hi Frank, On 03/01/2019 15:25, Frank Hrebabetzky wrote: > gpg: AES256 encrypted data > gpg: encrypted with 1 passphrase > gpg: decryption failed: Bad session key This is also the error message you get when you specify the wrong passphrase. Perhaps you mistyped the passphrase when encrypting it? T

Re: decryption failed: Bad session key

2019-01-08 Thread Frank Hrebabetzky
Hi there, I had a bad timing with my post, so just as a reminder for those who were absorbed by the holidays. Any hint? Regards, -- Frank Hrebabetzky +49 / 9261 / 950 0565 On 1/3/19 3:25 PM, Frank Hrebabetzky wrote: Hi all, I have 2 encrypted files on my PC, let's call them A

Re: Decryption troubles

2018-10-11 Thread Roland Siemons (P)
Dear Werner, Thanks for yr advise. This is what I get, following yr suggestion: ## gpg : gpg: public key is 1594F1502D7EF3B9 At line:1 char:1 + gpg -vd -o C:\Users\Roland\Desktop\Bagger\1.pdf  C:\Users\Rol

Re: Decryption troubles

2018-10-11 Thread Wiktor Kwapisiewicz via Gnupg-users
Hello, There are two encryption keys as far as I can see (more complete key in attachment). Probably one of them was added but the secret key has been lost (during migration? I don't know). I've suggested checking which one works for them and revoking the other, and then publishing the key to key

Re: Decryption troubles

2018-10-11 Thread Werner Koch
On Wed, 10 Oct 2018 20:33, siem...@cleanfuels.nl said: > gpg: decryption failed: No secret key Well, you don't have the secret key (aka private key) to decrypt the message. > sec   rsa2048 2009-09-27 [SCA] >   A5F3C219AB2601BEC1BCE4F2AEEC5E2ED87628F5 [..] > ssb   rsa2048 2009-09-27 [E] > ss

Re: Decryption troubles

2018-10-10 Thread Roland Siemons (P)
Dear Werner, Thanks for yr advise. This is what I get, following yr suggestion: ## gpg : gpg: public key is 1594F1502D7EF3B9 At line:1 char:1 + gpg -vd -o C:\Users\Roland\Desktop\Bagger\1.pdf  C:\Users\Rol

Re: Decryption troubles

2018-10-10 Thread Werner Koch
On Wed, 10 Oct 2018 14:02, siem...@cleanfuels.nl said: > I am using GPA with GnuPG 2.2.10. IIRC, the latest released GPA version is way behind what we have in the repo. To figure out your problem, please run gpg on the command line: gpg -vd -o OUTPUTFILE ENCRYPTED_FILE check the error mess

RE: Decryption Key Compatibility between GNUPG V 2.030 and GnUPG 2.0.27

2016-08-31 Thread Robert J. Hansen
> Could this issue be due to the difference in GPG version between the 2 > servers? Unlikely. It's much more likely that you only imported the public key on the Production box. On the Production box, try this: C:\> \path\to\gpg.exe --list-secret-keys If the key isn't listed there, then you f

Re: Decryption with suppressed key ID (--throw-keyids) different in 2.1

2016-08-29 Thread Ben McGinnes
On Mon, Aug 29, 2016 at 08:01:23AM +0200, Werner Koch wrote: > On Mon, 29 Aug 2016 04:25, c...@nymph.paranoici.org said: > >>>No, this would be a bug. >> >> I get an error 0x02 in return: > > This is a regression in 2.1.14. Workaround is to either set > --default-key or --try-secret-key. Patch

Re: Decryption with suppressed key ID (--throw-keyids) different in 2.1

2016-08-28 Thread Werner Koch
On Mon, 29 Aug 2016 04:25, c...@nymph.paranoici.org said: >>No, this would be a bug. > > I get an error 0x02 in return: This is a regression in 2.1.14. Workaround is to either set --default-key or --try-secret-key. Patch attached. Shalom-Salam, Werner -- Die Gedanken sind frei. Ausnahm

Re: Decryption with suppressed key ID (--throw-keyids) different in 2.1

2016-08-28 Thread Carola Grunwald
Hi Werner! On Sun, 28 Aug 2016 17:26:22 +0200, Werner Koch wrote: >On Sun, 28 Aug 2016 00:07, c...@nymph.paranoici.org said: > >> Is there a reason why decryption of data with the recipient's key ID >> suppressed now requires the --try-all-secrets option? It took me some > >No, this would be a

Re: Decryption with suppressed key ID (--throw-keyids) different in 2.1

2016-08-28 Thread Werner Koch
On Sun, 28 Aug 2016 00:07, c...@nymph.paranoici.org said: > Is there a reason why decryption of data with the recipient's key ID > suppressed now requires the --try-all-secrets option? It took me some No, this would be a bug. Shalom-Salam, Werner -- Die Gedanken sind frei. Ausnahmen reg

RE: Decryption failed: No secret key found (Please help !)

2016-08-18 Thread Steve Butler
-Original Message- From: Gnupg-users [mailto:gnupg-users-boun...@gnupg.org] On Behalf Of Hariharan Shweta Thanks for the response. We have provided them our public key. The key 31743B64 is not our public key. I'm confused as our vendor is able to decrypt our message but we are not able

RE: Decryption failed: No secret key found (Please help !)

2016-08-18 Thread Hariharan Shweta
users [mailto:gnupg-users-boun...@gnupg.org] On Behalf Of Ben McGinnes Sent: Thursday, August 18, 2016 2:40 PM To: gnupg-users@gnupg.org Subject: Re: Decryption failed: No secret key found (Please help !) On Thu, Aug 18, 2016 at 06:22:39AM +, Hariharan Shweta wrote: > Hi Team, > > >

Re: Decryption failed: No secret key found (Please help !)

2016-08-18 Thread Ben McGinnes
On Thu, Aug 18, 2016 at 06:22:39AM +, Hariharan Shweta wrote: > Hi Team, > > > > We have setup the entire GnuPG software along with the keys in our > Linux server. We are able to encrypt our message and send it to our > vendor. even our vendor is able to decrypt it at their end. But we > are

Re: Decryption fails with 4096bit key on SmartCard

2015-09-30 Thread Mateusz Zalega
Hi Marcus, > Ok, I'm not sure whether someone from the Nitrokey team is following this > list, so I'll contact them and ask them to reproduce this. The card claims > to support 4096bit and since the key is on the card it should be possible > to use it, too... Fingers crossed... ;) I got a heads-up

Re: Decryption fails with 4096bit key on SmartCard

2015-09-28 Thread Marcus Ilgner
On Mon, 28 Sep 2015 at 09:04 NIIBE Yutaka wrote: > On 09/25/2015 02:55 PM, Marcus Ilgner wrote: > [...] > Thanks for the help, I have a feeling we're making some headway towards a > > solution. > > The error code of 6A88 is a kind of strange for me. If it's > OpenPGPcard v3.x with AES symmetric

Re: Decryption fails with 4096bit key on SmartCard

2015-09-28 Thread NIIBE Yutaka
On 09/25/2015 02:55 PM, Marcus Ilgner wrote: >> You'll see the debug dump of following line: >> >> raw apdu: 00 47 81 00 02 B8 00 00 >> > > Not sure whether that is significant but there were a few zero bytes more: > raw apdu: 00 47 81 00 00 00 02 B8 00 08 00 It is also correct. Short form i

Re: Decryption fails with 4096bit key on SmartCard

2015-09-24 Thread Marcus Ilgner
On Thu, 24 Sep 2015 at 02:46 NIIBE Yutaka wrote: > On 09/22/2015 10:26 PM, Marcus Ilgner wrote: > > Thank you for the hint. I updated the gist at > > https://gist.github.com/milgner/b823685c8a5960f1f13b to include both the > > output of `gpg --card-status` (which works fine) as well as the log fo

Re: Decryption fails with 4096bit key on SmartCard

2015-09-23 Thread NIIBE Yutaka
On 09/22/2015 10:26 PM, Marcus Ilgner wrote: > Thank you for the hint. I updated the gist at > https://gist.github.com/milgner/b823685c8a5960f1f13b to include both the > output of `gpg --card-status` (which works fine) as well as the log for > trying to decrypt with CCID disabled in scdaemon.conf (

Re: Decryption fails with 4096bit key on SmartCard

2015-09-22 Thread Marcus Ilgner
On Tue, 22 Sep 2015 at 16:30 Kristian Fiskerstrand < kristian.fiskerstr...@sumptuouscapital.com> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On 09/22/2015 03:26 PM, Marcus Ilgner wrote: > > > > > So, again, thanks for helping to investigate! I hope we can find a > > solution to

Re: Decryption fails with 4096bit key on SmartCard

2015-09-22 Thread Kristian Fiskerstrand
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 09/22/2015 03:26 PM, Marcus Ilgner wrote: > > So, again, thanks for helping to investigate! I hope we can find a > solution to this :) > Not following this thread too closely, but I couldn't see any debug output of the actual failed decryptio

Re: Decryption fails with 4096bit key on SmartCard

2015-09-22 Thread NIIBE Yutaka
On 2015-09-22 at 09:30 +, Marcus Ilgner wrote: > Here you can find the full > log: https://gist.github.com/milgner/b823685c8a5960f1f13b Thank you for the dump. There are fingerprints and timestamps registered on the card. But, it failed decryption with "No Record". Usually, it means there is

Re: Decryption fails with 4096bit key on SmartCard

2015-09-22 Thread Marcus Ilgner
Thank you for the hint. I updated the gist at https://gist.github.com/milgner/b823685c8a5960f1f13b to include both the output of `gpg --card-status` (which works fine) as well as the log for trying to decrypt with CCID disabled in scdaemon.conf (which unfortunately it yields the same error as befor

Re: Decryption fails with 4096bit key on SmartCard

2015-09-22 Thread Marcus Ilgner
Hi Werner, thank you for the quick reply, it's much appreciated! On Tue, 22 Sep 2015 at 11:10 Werner Koch wrote: > On Tue, 22 Sep 2015 08:51, marcus.ilg...@gmail.com said: > > > gpg: public key decryption failed: Missing item in object > > gpg: decryption failed: No secret key > > This is proba

Re: Decryption fails with 4096bit key on SmartCard

2015-09-22 Thread Werner Koch
On Tue, 22 Sep 2015 08:51, marcus.ilg...@gmail.com said: > gpg: public key decryption failed: Missing item in object > gpg: decryption failed: No secret key This is probably in scdaemon. Thus you should add --8<---cut here---start->8--- log-file SOMEFILE verb

Re: Decryption problem - Large .png file

2014-02-16 Thread Peter Lebbing
On 16/02/14 12:05, Charly Avital wrote: > The output was gibberish, with bell sounds now and then. Sounds like the .png file is output to to your terminal instead of a file. This is the default for the -d option. The -a option is used for specifying armoured output; it is not used for decryption,

Re: decryption trouble - primary/subkey confusion, maybe version issues?

2012-06-19 Thread Michael Hannemann
On Jun 19, 2012, at 1:50 AM, Hauke Laging wrote: > Am Di 19.06.2012, 01:03:26 schrieb Michael Hannemann: > >> pub:f:1024:17:xx--TpTpTpTp:1999-04-08:::-:[my collaborator]::scaESCA: >> sub:f:2048:16:xx--TsTsTsTs:1999-04-08::e: > > This seems not to leave any room for ambiguity: One ke

Re: decryption trouble - primary/subkey confusion, maybe version issues?

2012-06-18 Thread Hauke Laging
Am Di 19.06.2012, 01:03:26 schrieb Michael Hannemann: > pub:f:1024:17:xx--TpTpTpTp:1999-04-08:::-:[my collaborator]::scaESCA: > sub:f:2048:16:xx--TsTsTsTs:1999-04-08::e: This seems not to leave any room for ambiguity: One key only which can be encrypted to. Does the long ID (field 5)

Re: decryption trouble - primary/subkey confusion, maybe version issues?

2012-06-18 Thread Michael Hannemann
On Jun 18, 2012, at 6:38 PM, Hauke Laging wrote: > Am Mo 18.06.2012, 15:37:27 schrieb Michael Hannemann: > >> I'm having trouble sending an encrypted file to a collaborator -- even >> though they've sent me files that I've been able to decrypt. > > That means nothing. I can send you an encrypted

Re: decryption trouble - primary/subkey confusion, maybe version issues?

2012-06-18 Thread Hauke Laging
Am Mo 18.06.2012, 15:37:27 schrieb Michael Hannemann: > I'm having trouble sending an encrypted file to a collaborator -- even > though they've sent me files that I've been able to decrypt. That means nothing. I can send you an encrypted file without even having a key myself. Have they signed t

Re: Decryption problems using php

2012-06-05 Thread Philipp Schafft
reflum, On Tue, 2012-06-05 at 10:20 +0530, Amol Patil wrote: > Currenlty I am having problem with the decryption of the file my code > is like this > > echo shell_exec("echo $passphrase | $gpg --passphrase-fd 0 -o > $unencrypted_file -d $encrypted_file"); If you do this the passphrase can

Re: Decryption with OpenPGP card fails

2012-04-29 Thread Edmond
On 29/4/2012 11:22, Werner Koch wrote: > debug 2048 I just realized that after invoking gpg2 --card-status, a gpg2 --decrypt command does not send anything to the card at all (i.e. no new entries in the log file) Edmond ___ Gnupg-users mailing li

Re: Decryption with OpenPGP card fails

2012-04-29 Thread Edmond
Hello Werner! On 29/4/2012 11:22, Werner Koch wrote: > I assume that your gpg-agent and scdaemon are also from 2.0.19. Yes, they are. > To debug this you should enable debugging for > scdaemon by putting the lines > > debug 1024 > log-file /foo/mylog.log > > into ~/.gnupg/scdaemon.conf

Re: Decryption with OpenPGP card fails

2012-04-29 Thread Werner Koch
On Sat, 28 Apr 2012 12:06, edm...@systemli.org said: > Hello, I am facing problems decrypting data with my OpenPGP v2 card. > Signing however is working just fine. I have collected the following > output. The PIN retry counter looks a bit weird, could that be the problem? The "3 0 3" are just fine

Re: Decryption error

2011-09-06 Thread Werner Koch
On Sat, 3 Sep 2011 09:22, m.aflakpar...@ut.ac.ir said: > Now, for decrypting "70195_B11_WTCCCT444825.CEL.gz.gpg", I opended > Kleopatra window and clicked on File option then clicked on > "Decrypte/Verify files" and then I entered my file's path then > Decrypt/Verify window is opened and I checke

[Fwd: Re: Decryption error]

2011-09-01 Thread m . aflakparast
files. Any help will be highly appreciated. Best regards, Mehran Aflakparast Original Message -------- Subject: Re: Decryption error From:"Werner Koch" Date:Tue, August 30, 2011 11:08

Re: Decryption Error

2010-08-13 Thread Robert J. Hansen
> Isn't > > http://github.com/smartrevolution/gnupg-for-java > > that what he needs? It may be. I was looking at ftp://ftp.gnupg.org/gcrypt/alpha/gnupgjava, which shows no updates since 2005. It may be worth dropping a README in there directing people to Stefan Richter's git repo. I have

Re: Decryption Error

2010-08-13 Thread Werner Koch
On Fri, 13 Aug 2010 03:17, r...@sixdemonbag.org said: > received no response. I wish I had answers for you. All I can do > instead is tell you your best bet will probably involve writing JNI > wrappers for GPGME. Isn't http://github.com/smartrevolution/gnupg-for-java that what he needs?

Re: Decryption Error

2010-08-12 Thread Robert J. Hansen
On 8/11/2010 2:16 PM, Terseer Shaguy wrote: > Pls is there a special configuration for gpg on windows 2003 server? I am sorry that no one else has given you a useful answer. To answer your question: no, there is no special configuration for GnuPG on Windows Server 2003. Calling GnuPG from Java i

Re: decryption failed: secret key not available

2010-07-21 Thread Jean-David Beyer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rahul R wrote: > But how to generate a secret key in command mode... i have the public > key with me and imported it.. but still not able to decrypt... > My guess is that your best bet is to generate a new key-pair and send the public key to a key-ser

Re: decryption failed: secret key not available

2010-07-21 Thread Rahul R
But how to generate a secret key in command mode... i have the public key with me and imported it.. but still not able to decrypt... On Wed, Jul 21, 2010 at 9:22 PM, Hauke Laging wrote: > Am Mittwoch 21 Juli 2010 17:37:44 schrieb Rahul R: > > > Can you please help me in importing the secret key?

Re: decryption failed: secret key not available

2010-07-21 Thread Rahul R
Thanks for the quick reply Hauke.. :-) Can you please help me in importing the secret key? Whats the command I should use and how? On Wed, Jul 21, 2010 at 9:03 PM, Hauke Laging wrote: > Am Mittwoch 21 Juli 2010 17:22:28 schrieb Rahul R: > > Hi All,, > > > > When I try to decrypt a file which w

Re: decryption failed: secret key not available

2010-07-21 Thread Hauke Laging
Am Mittwoch 21 Juli 2010 18:01:58 schrieb Rahul R: > But how to generate a secret key in command mode... i have the public key > with me and imported it.. but still not able to decrypt... You are funny... Obviously it is impossible to "generate" the secret key for a given public key. Otherwise it

Re: decryption failed: secret key not available

2010-07-21 Thread Hauke Laging
Am Mittwoch 21 Juli 2010 17:37:44 schrieb Rahul R: > Can you please help me in importing the secret key? > > Whats the command I should use and how? gpg --import secretkey.asc It might make sense for you to use an GUI (like GPA or Kleopatra) as tasks like key import are very easy with a GUI.

Re: decryption failed: secret key not available

2010-07-21 Thread Joke de Buhr
On Wednesday 21 July 2010 17:22:28 Rahul R wrote: > Hi All,, > > When I try to decrypt a file which was encrypted with my key by a vendor, I > am getting an error as below. > > --- > > gpg --yes --output 123.txt.out --decrypt 123.txt.out.pgp > gpg: encrypted with 1024-bit ELG

Re: decryption failed: secret key not available

2010-07-21 Thread Hauke Laging
Am Mittwoch 21 Juli 2010 17:22:28 schrieb Rahul R: > Hi All,, > > When I try to decrypt a file which was encrypted with my key by a vendor, I > am getting an error as below. > > --- > > gpg --yes --output 123.txt.out --decrypt 123.txt.out.pgp > gpg: encrypted with 1024-bit EL

Re: Decryption Fails on UserName but not on EmailAddress ???

2009-09-30 Thread Ingo Klöcker
On Tuesday 29 September 2009, nschroth wrote: > Interesting. The key is not listed twice, but... > > --list-keys PrimaryUserName shows ALL THREE keys while > --list-keys PrimaryEmailAddress shows only the primary host key. > > Could it be that the name I used for the primary key was CompanyName >

Re: Decryption Fails on UserName but not on EmailAddress ???

2009-09-29 Thread nschroth
Interesting. The key is not listed twice, but... --list-keys PrimaryUserName shows ALL THREE keys while --list-keys PrimaryEmailAddress shows only the primary host key. Could it be that the name I used for the primary key was CompanyName and the email addresses for all the people had that as th

Re: Decryption Fails on UserName but not on EmailAddress ???

2009-09-26 Thread nschroth
David, On the target (recipient) machine: --list-keys shows my Primary Key, My desktop Key and a co-worker's desktop key --list-secret-keys shows only my Primary Ke --list-keys PrimaryKeyUserName it only lists my primary key. This has happen when a file was encrypted from EITHER my desktop

Re: Decryption Fails on UserName but not on EmailAddress ???

2009-09-26 Thread Ingo Klöcker
On Saturday 26 September 2009, nschroth wrote: > David, > > On the target (recipient) machine: > --list-keys shows my Primary Key, My desktop Key and a co-worker's > desktop key > --list-secret-keys shows only my Primary Ke > --list-keys PrimaryKeyUserName it only lists my primary key. > > Th

Re: Decryption Fails on UserName but not on EmailAddress ???

2009-09-26 Thread Laurent Jumet
Hello nschroth ! nschroth wrote: > I have been reading previous posts on this topic but have not found my > answer. > When I ENcrypt on BoxA using -r UserName, decryption on BoxB errors with : > "decryption failed: secret key not available". > However, doing the same test using the email addres

Re: Decryption Fails on UserName but not on EmailAddress ???

2009-09-25 Thread David Shaw
On Sep 25, 2009, at 7:19 PM, nschroth wrote: I have been reading previous posts on this topic but have not found my answer. When I ENcrypt on BoxA using -r UserName, decryption on BoxB errors with : "decryption failed: secret key not available". However, doing the same test using the email a

Re: Decryption streaming

2009-05-13 Thread Werner Koch
On Tue, 12 May 2009 17:09, beth.c.coff...@fnis.com said: > minip12.c decrypt_block from gnupg-2.0.11 might do what I need, but I > don't see anything documenting what the "salt" and "pw" parameters are That is an inetrnal fucntion of gpg. You should not use it. > What I am looking to do is

RE: Decryption streaming

2009-05-13 Thread Coffman, Beth C
it, delete it, and move on to decrypting the next subset. Beth -Original Message- From: David Shaw [mailto:ds...@jabberwocky.com] Sent: Tuesday, May 12, 2009 9:20 AM To: Coffman, Beth C Cc: gnupg-users@gnupg.org Subject: Re: Decryption streaming On May 8, 2009, at 5:30 PM, Coffman, Beth

Re: Decryption streaming

2009-05-12 Thread Steven W. Orr
On Friday, May 8th 2009 at 17:30 -, quoth Coffman, Beth C: =>What is a good way to write a C++ app to decrypt multiple =>large PGP-encrypted files simultaneously into memory?  I cannot have =>the plaintext output in a file on disk at any time.  Preferably, one block =>of data from the file wil

Re: Decryption streaming

2009-05-12 Thread David Shaw
On May 8, 2009, at 5:30 PM, Coffman, Beth C wrote: What is a good way to write a C++ app to decrypt multiple large PGP- encrypted files simultaneously into memory? I cannot have the plaintext output in a file on disk at any time. Preferably, one block of data from the file will be decrypte

Re: Decryption error (block_filter read error)

2008-07-07 Thread Robert J. Hansen
Devaraj Karuppiah wrote: How do I compute sha1sum in GPG? gpg --print-md sha1 [filename] ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users

RE: Decryption error (block_filter read error)

2008-07-07 Thread Devaraj Karuppiah
How do I compute sha1sum in GPG? I can't seem to find an option that computes sha1sum in the GPG manual. Thanks, Devaraj. -Original Message- From: Werner Koch [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2008 6:48 AM To: [EMAIL PROTECTED] Cc: gnupg-users@gnupg.org Subjec

Re: Decryption error (block_filter read error)

2008-07-04 Thread Werner Koch
On Thu, 3 Jul 2008 16:44, [EMAIL PROTECTED] said: > gpg: CAST5 encrypted data > gpg: block_filter 00AF8A00: read error (size=4245,a->size=1002) That looks pretty much like currupted data. Check that you received the message intact, for example by asking the sender to provide a sha1sum and comp

Re: Decryption using Smartcard using CCID and PCSCD driver

2008-01-22 Thread Volker Dormeyer
* On Monday 10 December 2007 21:55:12, * Volker Dormeyer <[EMAIL PROTECTED]> wrote: > I plan to try the version in SVN within the next days. Although I am very late, I was able to test decryption with GnuPG 1.4.8/2.0.8. I can confirm, decryption is working fine, now. > * On Monday 10 Decem

RE: Decryption error

2008-01-16 Thread Max Allan
You can try to run ldd on the binary (use the full path to gpg, ldd won't search $PATH for you). That will show all libraries the binary wants and if they aren't found. This might save you some repeated copying libs one by one onto the box! It will also show that if you know libgcc is somewhere o

RE: Decryption error

2008-01-10 Thread Paul Crittenden
:34 AM To: gnupg-users Subject: Re: Decryption error -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Crittenden wrote: | I fixed it, perhaps not the proper fix but it now works. I made a link | from /usr/local/lib/libgcc... to /usr/lib/libgcc... If it's a Linux-system add /usr/local/lib t

Re: Decryption error

2008-01-10 Thread Alexander W. Janssen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Crittenden wrote: | I fixed it, perhaps not the proper fix but it now works. I made a link | from /usr/local/lib/libgcc... to /usr/lib/libgcc... If it's a Linux-system add /usr/local/lib to the file /etc/ld.so.conf and run the command ldconfig o

RE: Decryption error

2008-01-10 Thread Paul Crittenden
PROTECTED] On Behalf Of David Shaw Sent: Wednesday, January 09, 2008 9:26 PM To: gnupg-users@gnupg.org Subject: Re: Decryption error On Wed, Jan 09, 2008 at 04:28:46PM -0600, Paul Crittenden wrote: > I am using gpg for encryption with Amanda, a disk backup utility. It > backups up just fine but

RE: Decryption error

2008-01-10 Thread Paul Crittenden
OTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Shaw Sent: Wednesday, January 09, 2008 9:26 PM To: gnupg-users@gnupg.org Subject: Re: Decryption error On Wed, Jan 09, 2008 at 04:28:46PM -0600, Paul Crittenden wrote: > I am using gpg for encryption with Amanda, a disk backup utility. It &

Re: Decryption error

2008-01-09 Thread David Shaw
On Wed, Jan 09, 2008 at 04:28:46PM -0600, Paul Crittenden wrote: > I am using gpg for encryption with Amanda, a disk backup utility. It > backups up just fine but when I try to restore I get the error: > > > > ld.so.1: gpg: fatal: libgcc_s.so.1: open failed: No such file or > directory > > >

Re: Decryption using Smartcard using CCID and PCSCD driver

2007-12-10 Thread Volker Dormeyer
Thank you, Werner. I plan to try the version in SVN within the next days. Regards, Volker * On Monday 10 December 2007 16:42:03, * Werner Koch <[EMAIL PROTECTED]> wrote: > it took quite some time but I fixed it today. The solution is in the SVN > and will go into 1.4.8 and 2.0.8. Both to b

Re: Decryption using Smartcard using CCID and PCSCD driver

2007-12-10 Thread Werner Koch
Hi, it took quite some time but I fixed it today. The solution is in the SVN and will go into 1.4.8 and 2.0.8. Both to be released before Christmas. Salam-Shalom, Werner -- Die Gedanken sind frei. Auschnahme regelt ein Bundeschgesetz. ___ Gnu

Re: Decryption using Smartcard using CCID and PCSCD driver

2007-11-07 Thread Volker Dormeyer
* On Wednesday 07 November 2007 19:50:54, * Werner Koch <[EMAIL PROTECTED]> wrote: > On Thu, 1 Nov 2007 08:07, [EMAIL PROTECTED] said: > FWIW, we can see you PIN in the log: > > DBG: send apdu: c=00 i=20 p0=00 p1=82 lc=6 le=-1 > DBG: APDU_data: 00 20 00 82 06 33 31 31 32 38 32 >

Re: Decryption using Smartcard using CCID and PCSCD driver

2007-11-07 Thread Werner Koch
On Thu, 1 Nov 2007 08:07, [EMAIL PROTECTED] said: > GPG tells me (recipients have been anonymised by , > except myself): FWIW, we can see you PIN in the log: DBG: send apdu: c=00 i=20 p0=00 p1=82 lc=6 le=-1 DBG: APDU_data: 00 20 00 82 06 33 31 31 32 38 32

Re: Decryption using Smartcard using CCID and PCSCD driver

2007-11-07 Thread Volker Dormeyer
Hi, does nobody have an idea on this? Thanks, Volker * On Thursday 01 November 2007 08:07:25, * Volker Dormeyer <[EMAIL PROTECTED]> wrote: > Hi, > > I'm experiencing problems decrypting an email I received, recently. > Decryption of other emails, even from the same sender works fine. >

Re: decryption not possible?

2007-05-25 Thread Ingo Klöcker
On Friday 25 May 2007 05:09, engage wrote: > On Thursday 24 May 2007 11:54, Ingo Klöcker wrote: > > On Thursday 24 May 2007 01:21, engage wrote: > > > I wasn't prompted for a passphrase! > > > > > > gnupg2-1.9.22-2.2mdv2007.0 > > > gnupg-1.4.7-0.2mdv2007.0 > > > kdepim-kmail-3.5.4-12mdv2007.0 > > >

Re: decryption not possible?

2007-05-24 Thread engage
On Thursday 24 May 2007 11:54, Ingo Klöcker wrote: > On Thursday 24 May 2007 01:21, engage wrote: > > I wasn't prompted for a passphrase! > > > > gnupg2-1.9.22-2.2mdv2007.0 > > gnupg-1.4.7-0.2mdv2007.0 > > kdepim-kmail-3.5.4-12mdv2007.0 > > That's just a wild guess, but the usual reason for this be

Re: decryption not possible?

2007-05-24 Thread Andrew Berg
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 engage wrote: > I wasn't prompted for a passphrase! Perhaps the message was only ASCII-armored. - -- Windows NT 5.1.2600 | Thunderbird 2.0.0.0 | Enigmail 0.95.0 | GPG 1.4.7 Key ID: 0x60A78FCB - available on major keyservers and upon request Fing

Re: decryption not possible?

2007-05-24 Thread Ingo Klöcker
On Thursday 24 May 2007 01:21, engage wrote: > I wasn't prompted for a passphrase! > > gnupg2-1.9.22-2.2mdv2007.0 > gnupg-1.4.7-0.2mdv2007.0 > kdepim-kmail-3.5.4-12mdv2007.0 That's just a wild guess, but the usual reason for this behavior is that gpg-agent is not setup correctly. I suggest you re

Re: decryption not possible?

2007-05-23 Thread Robert J. Hansen
> I wasn't prompted for a passphrase! Without more information, it's impossible to tell you anything useful. We need to know a lot more than this. -- Robert J. Hansen <[EMAIL PROTECTED]> "Most people are never thought about after they're gone. 'I wonder where Rob got the plutonium?' is bett

Re: Decryption doesn't work anymore

2005-10-13 Thread Niels Ringelmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks Charly, I tested already with a friend, that I also can't decrypt from third party. It didn't work. But I was so far lucky that I had stil an old backup of my key. But still I would be interested, what went wrong to avoid to make the same failu

Re: Decryption doesn't work anymore

2005-10-13 Thread Charly Avital
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Niels, I have sent you directly an encrypted message, using the key you refer to, in your message to the list. I don't know what changes you may have done. But when I downloaded, a few minutes ago, your key from the keyservers, it was identical to

Re: Decryption

2005-10-07 Thread Shatadal
Werner Koch wrote: > On Wed, 5 Oct 2005 15:01:51 -0400, Mcqueen, Voncile LT said: > > >>Please decrypt the following message for me: >>jmjmj gsmsg lrjgu csqyj quflr mfajg erdmc cmqlv lqyhg gawgq arpgq sblce >>jrlrj lnemc cyjqu flrmf ajqer d > > > Thepi oneer sofaw arles sworl daret heyou th

Re: Decryption

2005-10-07 Thread Werner Koch
On Wed, 5 Oct 2005 15:01:51 -0400, Mcqueen, Voncile LT said: > Please decrypt the following message for me: > jmjmj gsmsg lrjgu csqyj quflr mfajg erdmc cmqlv lqyhg gawgq arpgq sblce > jrlrj lnemc cyjqu flrmf ajqer d Thepi oneer sofaw arles sworl daret heyou ththa trefu semil itary servi ce

Re: Decryption via UNIX shell script

2005-03-15 Thread Thomas Jones
On Monday 14 March 2005 04:35 pm, [EMAIL PROTECTED] wrote: > I am writing a shell script to automatically decrypt an encrypted file > using GPG. How do I send the passphrase to the executable (GPG). I want > no human intervention on this. I'm calling the shell script from a batch > file to decry

Re: Decryption via UNIX shell script

2005-03-15 Thread Albert Reiner
[EMAIL PROTECTED], Mon, 14 Mar 2005 16:35:07 -0600 (CST)]: > I am writing a shell script to automatically decrypt an encrypted file > using GPG. How do I send the passphrase to the executable (GPG). I want > no human intervention on this. I'm calling the shell script from a batch > file to decry

Re: Decryption via UNIX shell script

2005-03-15 Thread DBSMITH
Subject g Re: Decryption via UNIX shell script 03/15/2005 11:47