IDEA support

paco's Avatar

paco

14 Jan, 2012 09:11 PM

Hello ,

Again problems with the IDEA support, I'd tried the methods explained in :

http://gpgtools.lighthouseapp.com/projects/66001/tickets/30 with the comments from http://support.gpgtools.org/discussions/everything/59-idea-support-web, changing
export MACOSX_DEPLOYMENT_TARGET=10.6
and
export CC=/usr/bin/gcc
export CXX=/usr/bin/g++

I'd been able to build and install the IDEA supported libgrcypt and it seems that it's detected:

gpg --version
gpg (GnuPG/MacGPG2) 2.0.17
libgcrypt 1.4.6
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128,

    CAMELLIA192, CAMELLIA256

Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

But trying to use the key fails, when gpg aks for the key it launch the pinentry program, but after that it fails with a pointer error :

gpg -seat -u key

You need a passphrase to unlock the secret key for
user: "Paco Monserrat [email blocked]"
1024-bit RSA key, ID D3A42C61, created 1999-03-17

gpg(51875,0xac6222c0) malloc: error for object 0x34f6d0: pointer being freed was not allocated
set a breakpoint in malloc_error_break to debug gpg(51875,0xac6222c0) malloc: error for object 0x350230: pointer being freed was not allocated
set a breakpoint in malloc_error_break to debug gpg: Invalid passphrase; please try again ...

gpg2 fails with the same error.

I'd tried to rebuild MacGPG2 from the git source , applying the same changes (MACOSX_DEPLOYMENT_TARGET , CC and CXX, but it fails trying to rebuild the gettext library

the GnuPG +idea variant from marcports works from the command line, but it does not integrate well the Mail.app GPGMail plugin.

regards

paco

  1. Support Staff 1 Posted by Luke Le on 14 Jan, 2012 09:47 PM

    Luke Le's Avatar

    Hi Paco,

    we're currently working on a new version of MacGPG which will support IDEA.
    I'll send you a prelease in a few days, once we have one to test.

    Best

  2. 2 Posted by Alex on 14 Jan, 2012 10:13 PM

    Alex's Avatar
  3. 3 Posted by paco on 15 Jan, 2012 11:19 AM

    paco's Avatar

    Hello,

    I'd done the following:

    1 remove the old MAcGPG2

    1. installed the last one from the git repository,

    gpg2 and gpg seems to recognize the IDEA algorithm but there was some problems with the interaction with pinentry , password for other keys were accepted, but password for the IDEA key was refused (and it was exactly the same).

    After some testing I'd removed the password for the IDEA key and set it again , reboot the machine (to be sure that the gpg-agent/pinentry socket were not messing around) , and after all of this , it seems that I'm able to use the IDEA key both from the command-line and from the GPGMail 2.0a19 (I 'll try the new one latter).

    So thanks for your support and help

    paco

  4. Support Staff 4 Posted by Steve on 15 Jan, 2012 11:41 AM

    Steve's Avatar

    OK, sounds like the latest MacGPG2 and IDEA seem to play fine. Not sure why the initial try brought some issue with pinentry. If you find anything else please re-open this discussion any time so we can investigate.

    All the best, steve

  5. Steve closed this discussion on 15 Jan, 2012 11:41 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac