SoftHSM on AIX
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 30/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- cmake, cpp, linux
- Lĩnh vực
- backend, build-system
Hướng nghiên cứu
Start by comparing the AIX builds made with Make and CMake using GCC and Clang, then investigate the reported PKCS#11 failures: the Clang build reaches C_FindObjects before Java reports OutOfMemoryError, while the GCC build aborts with std::bad_cast. The issue also reports that the executables cannot be built because getopt is unavailable on AIX. Reproduce the failures on AIX/PowerPC and identify which platform compatibility issue is responsible; the issue names no source files or tests.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Has anyone successfully tried to compile and build SoftHSM for AIX/PowerPC?
My environment looks like -
bash-5.2# oslevel -s
7200-05-06-2320
bash-5.2# uname -srv
AIX 2 7
I am able to compile the code both with Make and CMake with GCC and Clang but having different issues with both compiled versions (I am using Temurin provided OpenJDK keytool command to test).
Clang compiled SoftHSM -
loadProviderByClass: sun.security.pkcs11.SunPKCS11
Exception in thread "main" java.lang.OutOfMemoryError
at jdk.crypto.cryptoki/sun.security.pkcs11.wrapper.PKCS11.C_FindObjects(Native Method)
at jdk.crypto.cryptoki/sun.security.pkcs11.P11KeyStore.findObjects(P11KeyStore.java:2680)
at jdk.crypto.cryptoki/sun.security.pkcs11.P11KeyStore.mapLabels(P11KeyStore.java:2293)
at jdk.crypto.cryptoki/sun.security.pkcs11.P11KeyStore.engineLoad(P11KeyStore.java:769)
at java.base/java.security.KeyStore.load(KeyStore.java:1479)
at java.base/sun.security.tools.keytool.Main.doCommands(Main.java:1010)
at java.base/sun.security.tools.keytool.Main.run(Main.java:421)
at java.base/sun.security.tools.keytool.Main.main(Main.java:414)
GCC compiled SoftHSM
terminate called after throwing an instance of 'std::bad_cast'
terminate called recursively
IOT/Abort trap (core dumped)
I only built PKCS#11 module for now, as I don't require other executables, but having issues with executables as it requires getopt which is not available on AIX!
Also, to make available the data, I copied the tokens directory from Windows as I couldn't build the executables on AIX due to getopt issues.
Any help would be greatly appreciated.
- Ngôn ngữ chính
- C++
- Star
- 1.1k
- Fork
- 434
- Merge trung bình
- 12 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của softhsm/SoftHSMv2
-
C_DigestKey digests a sensitive EC private key's CKA_VALUE: no check that the object is a secret keyĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 54/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 56/100
Tất cả issue của softhsm/SoftHSMv2
Issue tương tự
-
mlir
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
llvm/llvm-project#241070 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Page request: clang-replĐang mởhelp wanted new command
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
tldr-pages/tldr#25111 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Ask the `ServerHelper` for fresh headers on every poll in `Future::get`, as is done for cookiesĐang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
NVIDIA/cuda-quantum#5886 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày