PN532 RFID

  • Hallo,
    ich versuche gerade den PN532 zum laufen zu bekommen. Mit
    dem testnfc.py konnte ich die Karten auslesen, allerdings schaffe ich es
    nicht in Doorpi. Sobald ich alles in die Doorpi.ini eintrage startet
    Doorpi nicht mehr. Es scheint wohl an OpenSSL zu liegen, hatte jemand
    ähnliche Probleme oder kann mir sagen wie ich den Fehler beheben kann?


    Im Logfile findet sich folgender Eintrag:
    2018-02-19 17:30:04,219 [INFO] [doorpi.conf.config_object] use configfile: /usr/local/etc/DoorPi/conf/doorpi.ini
    2018-02-19 17:30:04,346 [INFO] [doorpi.status.webserver] Initiating WebService at ip and port 80
    2018-02-19 17:30:04,380 [WARNING] [root] section ReadPermission not found in configfile
    2018-02-19 17:30:04,395 [ERROR] [doorpi.status.webserver] no ReadPermission found
    2018-02-19 17:30:04,442 [INFO] [doorpi.keyboard.KeyboardInterface]
    using multi-keyboard mode (keyboards: nfcreader, onboardpins)
    2018-02-19 17:30:04,445 [INFO] [doorpi.keyboard.KeyboardInterface] trying to add keyboard 'nfcreader' to handler
    2018-02-19 17:30:04,490 [WARNING] [root] section nfcreader_OutputPins not found in configfile
    2018-02-19 17:30:04,898 [WARNING] [nfc.llcp.sec] OpenSSL libcrypto.so.1.1 is not supported
    2018-02-19 17:30:05,406 [INFO] [nfc.clf] searching for reader on path tty:AMA0:pn532
    2018-02-19 17:30:06,420 [INFO] [doorpi.doorpi] ======== DoorPi successfully shutdown ========

  • ich habe dasselbe Problem
    Raspberry 3B - Raspbian stretch


    pi@doorpi:~ $ nfc-list

    Code
    nfc-list uses libnfc libnfc-1.7.1-191-g216145f
    NFC device: PN532 board via UART opened

    funktioniert, aber


    pi@doorpi:~ $ python /home/pi/libnfc/trunk/examples/tagtool.py --device tty:AMA0:pn532


    Code
    File "/usr/lib/python2.7/ctypes/__init__.py", line 380, in __getitem__
        func = self._FuncPtr((name_or_ordinal, self))
    AttributeError: /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.1: undefined symbol: ECDH_OpenSSL

    ich habe jetzt nach längerem Suchen in der python community folgendes gefunden




    Python < 2.7.13 does not support OpenSSL 1.1

    was kann man da ändern?