[Tails-dev] openssl with no PKCS5_PBKDF2_HMAC (breaks bitmes…

Delete this message

Reply to this message
Author: tailsn00b
Date:  
To: tails-dev
Subject: [Tails-dev] openssl with no PKCS5_PBKDF2_HMAC (breaks bitmessage)
I am trying to use https://bitmessage.org the P2P communications protocol
on top of tails, so I followed
https://bitmessage.org/wiki/Compiling_instructions
but it seems that the openssl in tails is missing a feature:

amnesia@amnesia:~/PyBitmessage/src$ python bitmessagemain.py
(On Linux) Couldn't find and load the OpenSSL library. You must install
it. If you believe that you already have it installed, this exception
information might be of use:
Traceback (most recent call last):
  File "bitmessagemain.py", line 37, in <module>
    from addresses import *
  File "/home/amnesia/PyBitmessage/src/addresses.py", line 3, in <module>
    from pyelliptic import arithmetic
  File "/home/amnesia/PyBitmessage/src/pyelliptic/__init__.py", line 16,
in <module>
    from .openssl import OpenSSL
  File "/home/amnesia/PyBitmessage/src/pyelliptic/openssl.py", line 429,
in <module>
    OpenSSL = _OpenSSL(find_library('ssl'))
  File "/home/amnesia/PyBitmessage/src/pyelliptic/openssl.py", line 292,
in __init__
    self.PKCS5_PBKDF2_HMAC = self._lib.PKCS5_PBKDF2_HMAC
  File "/usr/lib/python2.6/ctypes/__init__.py", line 366, in __getattr__
    func = self.__getitem__(name)
  File "/usr/lib/python2.6/ctypes/__init__.py", line 371, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib/i686/cmov/libssl.so.0.9.8: undefined symbol:
PKCS5_PBKDF2_HMAC
amnesia@amnesia:~/PyBitmessage/src$


Following the same procedure on Ubuntu works smooth.

Could you please enable this openssl feature on the compilation of tails?

thanks,
tailsn00b