Re: can not decrypt file suddenly

2015-04-13 Thread NIIBE Yutaka
On 04/14/2015 12:07 PM, jason zhang wrote: > Yes, it asked me the passphrase just after "gpg: CAST5 encrypted data" > line, and I gave the passphrase. The passphrase is definitely right since I > used it very 2 or 3 days. I see. > Here is a whole debug session: Thank you for the log. > gpg: DBG

Re: can not decrypt file suddenly

2015-04-13 Thread jason zhang
Here are the output from "file" and "gpg --list-packets" [jason@f15 ~]$ file .jsbk.gpg .jsbk.gpg: DOS executable (COM) [jason@f15 ~]$ gpg --list-packets .jsbk.gpg :symkey enc packet: version 4, cipher 3, s2k 3, hash 2 salt 51c310499a629643, count 65536 (96) gpg: CAST5 encrypted data :encrypted

Re: can not decrypt file suddenly

2015-04-13 Thread Doug Barton
On 4/13/15 8:56 PM, jason zhang wrote: Hi Doug Yes, the problem started after the unscheduled shutdown. Unfortunately, I don't have an archived version. The problem is that another encrypted, which I have not touched for sometime, cann't be opened either. Well I'm sorry to say, that sounds lik

Re: can not decrypt file suddenly

2015-04-13 Thread jason zhang
Hi Doug Yes, the problem started after the unscheduled shutdown. Unfortunately, I don't have an archived version. The problem is that another encrypted, which I have not touched for sometime, cann't be opened either. On Mon, Apr 13, 2015 at 8:46 PM, Doug Barton wrote: > On 4/13/15 8:07 PM, jas

Re: can not decrypt file suddenly

2015-04-13 Thread Doug Barton
On 4/13/15 8:07 PM, jason zhang wrote: Hi NIIBE Thank you very much for the help. Yes, it asked me the passphrase just after "gpg: CAST5 encrypted data" line, and I gave the passphrase. The passphrase is definitely right since I used it very 2 or 3 days. You mentioned that you had an unschedu

Re: can not decrypt file suddenly

2015-04-13 Thread jason zhang
Hi NIIBE Thank you very much for the help. Yes, it asked me the passphrase just after "gpg: CAST5 encrypted data" line, and I gave the passphrase. The passphrase is definitely right since I used it very 2 or 3 days. Here is a whole debug session:

Re: can not decrypt file suddenly

2015-04-13 Thread NIIBE Yutaka
On 04/14/2015 07:27 AM, jason zhang wrote: > Any clue? Where should I start to investigate? > > I checked another encrypted file. I cloud not decrypt it, either. > But I can encrypt /decrypt new file successfully. Please let us know your configuration. I think that it's ~/.gnupg/gpg.conf on Fedo

Re: Unusable secret key (adduid)

2015-04-13 Thread NIIBE Yutaka
On 04/14/2015 04:23 AM, Ivan Markin wrote: > On 04/13/2015 07:37 PM, Werner Koch wrote:> On Sat, 11 Apr 2015 23:01, > ivansun...@gmail.com said: >>> Hello! >>> >>> I'm using OpenPGP card to store my secret keys on it. Now I'm >>> adding a new UID to my key by running gpg2 --edit-key. What I've >>>

Re: Windows installer for 2.1.3 (was: GnuPG 2.1.3 released)

2015-04-13 Thread MFPA
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Monday 13 April 2015 at 7:12:52 PM, in , Werner Koch wrote: > A Pinentry is not provided so to avoid dependency > problems with the Gtk+ or Qt+ libraries. It would have > been possible to include a simple Windows pinentry and > thus avoid de

can not decrypt file suddenly

2015-04-13 Thread jason zhang
Any clue? Where should I start to investigate? I checked another encrypted file. I cloud not decrypt it, either. But I can encrypt /decrypt new file successfully. I remembered my laptop was shut down abruptly due to out of power while I edit the file in email. Could this cause the problem? Thank

Re: Unusable secret key (adduid)

2015-04-13 Thread Ivan Markin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 04/13/2015 07:37 PM, Werner Koch wrote:> On Sat, 11 Apr 2015 23:01, ivansun...@gmail.com said: >> Hello! >> >> I'm using OpenPGP card to store my secret keys on it. Now I'm >> adding a new UID to my key by running gpg2 --edit-key. What I've >> go

Windows installer for 2.1.3 (was: GnuPG 2.1.3 released)

2015-04-13 Thread Werner Koch
Hi, I just uploaded an _experimental_ Windows installer with GnuPG 2.1.3: ftp://ftp.gnupg.org/gcrypt/binary/gnupg-w32-2.1.3_20150413.exe (2539k) ftp://ftp.gnupg.org/gcrypt/binary/gnupg-w32-2.1.3_20150413.exe.sig The exe has a SHA-1 checksum of d5630904b3d68eddc2730a00bfc67d52658cbe7e gnupg-

Re: Unusable secret key (adduid)

2015-04-13 Thread Werner Koch
On Sat, 11 Apr 2015 23:01, ivansun...@gmail.com said: > Hello! > > I'm using OpenPGP card to store my secret keys on it. Now I'm adding a > new UID to my key by running gpg2 --edit-key. What I've got is this You need to insert your card to create a new UID. > gpg: secret key parts are not availab

Re: Blind signatures for simple election

2015-04-13 Thread Peter Lebbing
On 08/04/15 20:57, Jan Svensson wrote: > What do you think about me trying to use Libgcrypt instead? Personally, if I was actually going to use the program, I wouldn't write it myself. I'd only write it myself if it was purely for the learning experience. I'd look for an existing project that mak

Re: GnuPG 2.1.3 Fails to Compile OS X

2015-04-13 Thread Dominyk Tiller
Hi Ethan, Thanks for the quick replies today, appreciate those. You're correct on GNU's GCC, in that it compiles successfully. It looks like I labelled one of my Clang compiles "GCC_Comp1.txt" last night accidentally and looked for the error rather than double checking the compiler to make sure I

Re: GnuPG 2.1.3 Fails to Compile OS X

2015-04-13 Thread Werner Koch
On Sun, 12 Apr 2015 00:29, dominyktil...@gmail.com said: > = > t-stringhelp.c:488:3: error: function definition is not allowed here > { > ^ Oh sorry, I didn't spotted the use of a nested function here. Fix pushed and attsched. Salam-Sh