SoftHSM on AIX
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- cmake, cpp, linux
- Ambito
- backend, build-system
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- C++
- Stelle
- 1.1k
- Fork
- 434
- Merge medio
- 12g 14h
- PR unite (30g)
- 2
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di softhsm/SoftHSMv2
-
C_DigestKey digests a sensitive EC private key's CKA_VALUE: no check that the object is a secret keyAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 54/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 56/100
Tutte le issue di softhsm/SoftHSMv2
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
charmplusplus/charm#4210 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
[BUG] VPN auth dialog spawned by the secret agent fails with "TLS support is not available" on NixOSApertabug nixos umbriel
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
noctalia-dev/noctalia#5310 ·
I maintainer di solito rispondono entro 1 giorno
-
area/docdb kind/bug priority/medium status/awaiting-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
yugabyte/yugabyte-db#37426 ·
I maintainer di solito rispondono entro 1 giorno
-
[Engine] Two prompt block scorers enabled at once: WMMA silently wins and no log line is printedAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Niko1221/Strata#5693 · 2 commenti ·
I maintainer di solito rispondono entro 4 giorni