Comments (3)
I have diffed the configurations used for the manual step (left side) and by the Python package (right side) and I am not experienced enough to guess what could be causing my import error:
$ diff ~/SSL_LEFT_MANUAL_IMPORT_ERROR.txt ~/SSL_RIGHT_WORKING_PYTHON.txt
3c3
< * Installation prefix: /usr/local
---
> * Installation prefix: /tmp/pip-install-dkn94k5z/wolfcrypt_8bb0ec0fb3c84dc8a38c484f47a2afab/lib/wolfssl/linux-aarch64/v5.6.6-stable
8,14c8,14
< * C++ Compiler:
< * C++ Flags:
< * CPP Flags:
< * CCAS Flags:
< * LD Flags:
< * LIB Flags: -pie -z relro -z now -Werror
< * Library Suffix:
---
> * C++ Compiler:
> * C++ Flags:
> * CPP Flags:
> * CCAS Flags:
> * LD Flags:
> * LIB Flags: -pie -z relro -z now -Werror
> * Library Suffix:
17c17
< * Coverage enabled:
---
> * Coverage enabled:
22c22
< Features
---
> Features
29c29
< * Old Names: yes
---
> * Old Names: no
47c47
< * AES-GCM streaming: no
---
> * AES-GCM streaming: yes
49c49
< * AES-CTR: no
---
> * AES-CTR: yes
56c56
< * DES3: no
---
> * DES3: yes
66c66
< * MD5: yes
---
> * MD5: no
69c69
< * SHA-224: yes
---
> * SHA-224: no
74c74
< * SHAKE256: no
---
> * SHAKE256: yes
80c80
< * keygen: no
---
> * keygen: yes
92c92
< * wolfCrypt Only: no
---
> * wolfCrypt Only: yes
95c95
< * X9.63 KDF: no
---
> * X9.63 KDF: yes
98c98
< * Poly1305: yes
---
> * Poly1305: no
104c104
< * DH: yes
---
> * DH: no
113,114c113,114
< * CURVE25519: no
< * ED25519: no
---
> * CURVE25519: yes
> * ED25519: yes
117c117
< * ED448: no
---
> * ED448: yes
154c154
< * ERROR_STRINGS: yes
---
> * ERROR_STRINGS: no
164,165c164,165
< * TLS v1.2: yes
< * TLS v1.3: yes
---
> * TLS v1.2: no
> * TLS v1.3: no
191c191
< * Extended Master Secret: yes
---
> * Extended Master Secret: no
198c198
< * PKCS#7: no
---
> * PKCS#7: yes
212,213c212,213
< * Examples: yes
< * Crypt tests: yes
---
> * Examples: no
> * Crypt tests: no
226c226
< * AES Key Wrap: no
---
> * AES Key Wrap: yes
244a245
>
from wolfssl.
Hi @stanislaw ,
wc_DerToPemEx requires that WOLFSSL_DER_TO_PEM is defined, and NO_ASN/NO_CERTS are not defined. Using configure, you can enable either certgen or keygen: --enable-certgen or --enable-keygen to enable this flag.
from wolfssl.
Hi @kareem-wolfssl,
thanks a lot for your answer. Right now, I have tried the options:
./configure --enable-certgen --enable-aesgcm --enable-aesgcm-stream --enable-aesctr --enable-aeskeywrap
The previous error has gone but now I am getting:
File "<...>", line 6, in <module>
from wolfcrypt.ciphers import AesGcmStream, RsaPublic
File "/usr/lib/python3.9/site-packages/wolfcrypt/__init__.py", line 47, in <module>
from wolfcrypt._ffi import ffi as _ffi
ImportError: /usr/lib/python3.9/site-packages/wolfcrypt/_ffi.abi3.so: undefined symbol: wc_Sha512Final
I have already tried the option of --enable-sha512
but the result is still the same.
Please advise.
UPDATED LATER:
Following this issue #7116, I have switched to the latest master and the undefined symbol: wc_Sha512Final
is gone now. The above command is confirmed to work on UltraScale PetaLinux 22.1 when run against this commit:
Merge: 1f61ed353 8e9810e87
Author: JacobBarthelmeh <[email protected]>
Date: Tue Apr 16 17:56:55 2024 -0600
Merge pull request #7297 from SparkiDev/ssl_move_5
ssl.c: Move functions out to separate files
The issue that I am facing now is that the encryption is still very slow but I will open a separate issue to track that.
Before I close this issue, is there anything that I can do to support documenting the missing information as per your comment? It would have been great to see this documented somewhere.
Thanks.
from wolfssl.
Related Issues (20)
- The DTLS1.3 protocol is compatible with DTLS1.2. Is there a compatible interface in wolfssl? For example, if the client is DTLS1.3 and the server is DTLS1.2, how do I achieve compatibility HOT 1
- Does wolf ssl support extract OID field from x.509 certificate
- Ada wrapper incorrectly sets verification method for remote peers HOT 11
- [Bug]: C:/Users/EDS/Desktop/wallfssl/wolfssl/IDE/IAR-EWARM/Projects/lib/ewarm/Exe/wolfSSL-Lib.a', needed by 'C:/Users/EDS/Desktop/wallfssl/wolfssl/IDE/IAR-EWARM/Projects/benchmark/ewarm/Exe/benchmark.out', missing and no known rule to make it when make build of IAR-EWARM then coming this issue file not wolfSSL-Lib.a HOT 2
- [Bug]: PKCS11 issue with wc_ecc_init_ex() HOT 4
- [Bug]: wolfSSL_check_domain_name for QUIC returns ok for failed SAN check HOT 1
- EC_method support missing despite RSA_method being present HOT 5
- Ed25519 signature verification bug HOT 2
- [Bug]: DTLS 1.2 handshake fails when 2 packets arrive OOO HOT 12
- [Bug]: wc_Curve448PublicKeyToDer returns error when output is NULL HOT 1
- Support for chrome and X25519Kyber512Draft00 HOT 4
- How can I contact [email protected] HOT 2
- multiplication by 0 in wc_ecc_mulmod and point at infinity HOT 3
- [Bug]: PlatformIO without SINGLE_THREADED causes fatal error: semphr.h: No such file HOT 1
- [Bug]: Forcing FreeRTOS Espressif to SINGLE_THREADED causes SHA256 test failure HOT 1
- Request more openssl compatibility for gSOAP. HOT 2
- Trying to understand the implementation of the function - ge_double_scalarmult_vartime HOT 3
- wolfSSL_CTX_EnableOCSP documentation update request
- Request for Espressif Managed Component Post-5.7.0 Release HOT 1
- error: api_kyber.h No such file HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wolfssl.