Re: [openssl-users] Possible bug in crypto/engine

2019-01-06 Thread Antonio Iacono
Thanks Dmitry and Matthias, I solved, as suggested the problem was not openssl, but libp11 I had compiled with version 1.1 of libcrypto instead version 3. Antonio Il giorno dom 6 gen 2019 alle ore 23:53 Dr. Matthias St. Pierre < matthias.st.pie...@ncp-e.com> ha scritto: > Antonio, > > > > did

Re: [openssl-users] Possible bug in crypto/engine

2019-01-06 Thread Dr. Matthias St. Pierre
Sorry, the command contains a little error: please replace `gdb …` by `gdb –args …`: util/shlib_wrap.sh gdb --args apps/openssl cms -sign -signer cert.pem -inkey 101 -keyform engine -engine pkcs11 -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/open

Re: [openssl-users] Possible bug in crypto/engine

2019-01-06 Thread Dr. Matthias St. Pierre
Antonio, did you debug the preinstalled openssl app or have you tried to debug your own version, built with a debug configuration? You get the best results in the debugger if you use the `debug-linux-x86_64` config target and after building (you only need to run `make`, not `make install`) run

Re: [openssl-users] Possible bug in crypto/engine

2019-01-06 Thread Dmitry Belyavsky
Hello вс, 6 янв. 2019 г., 21:55 Antonio Iacono ant...@gmail.com: > Hi, > > I sign a text file with: > openssl cms -sign -signer cert.pem -inkey 01 -keyform engine -engine > pkcs11 > in openssl.cnf > [pkcs11_section] > engine_id = pkcs11 > dynamic_path = /path/pkcs11.so > MODULE_PATH = /path/opens