-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PKCS11 testing with SoftHSM2 #805
Commits on Aug 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fea9dcc - Browse repository at this point
Copy the full SHA fea9dccView commit details
Commits on Aug 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6a554cc - Browse repository at this point
Copy the full SHA 6a554ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7db579d - Browse repository at this point
Copy the full SHA 7db579dView commit details -
- Fixed license headers for newly generated test key files
- removed conditional check for X448 and X25519 certificate/chains now that we have signed certs for those test key files
Configuration menu - View commit details
-
Copy full SHA for bac3328 - Browse repository at this point
Copy the full SHA bac3328View commit details -
Configuration menu - View commit details
-
Copy full SHA for 109116e - Browse repository at this point
Copy the full SHA 109116eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a7ed853 - Browse repository at this point
Copy the full SHA a7ed853View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f652a6 - Browse repository at this point
Copy the full SHA 6f652a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c9e41a - Browse repository at this point
Copy the full SHA 9c9e41aView commit details
Commits on Aug 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3e76221 - Browse repository at this point
Copy the full SHA 3e76221View commit details -
Configuration menu - View commit details
-
Copy full SHA for f86b9f7 - Browse repository at this point
Copy the full SHA f86b9f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e375d03 - Browse repository at this point
Copy the full SHA e375d03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19a5ef6 - Browse repository at this point
Copy the full SHA 19a5ef6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35b8127 - Browse repository at this point
Copy the full SHA 35b8127View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23d3cd3 - Browse repository at this point
Copy the full SHA 23d3cd3View commit details -
- moved softhsmimport to impl/src/test/scripts/softhsm and refactored…
… to support 'import' and 'configure' subcommands
Configuration menu - View commit details
-
Copy full SHA for a267170 - Browse repository at this point
Copy the full SHA a267170View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10c7c15 - Browse repository at this point
Copy the full SHA 10c7c15View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc5c91f - Browse repository at this point
Copy the full SHA dc5c91fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac0d053 - Browse repository at this point
Copy the full SHA ac0d053View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19ce1aa - Browse repository at this point
Copy the full SHA 19ce1aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f1580b - Browse repository at this point
Copy the full SHA 3f1580bView commit details -
- PKCS11 Certificate access adjustment on JVMs that don't support a d…
…iscovered algorithm
Configuration menu - View commit details
-
Copy full SHA for 3ab2518 - Browse repository at this point
Copy the full SHA 3ab2518View commit details -
- PKCS11 Certificate access adjustment on JVMs that don't support a d…
…iscovered algorithm
Configuration menu - View commit details
-
Copy full SHA for 94aa576 - Browse repository at this point
Copy the full SHA 94aa576View commit details -
- PKCS11 Certificate access adjustment on JVMs that don't support a d…
…iscovered algorithm
Configuration menu - View commit details
-
Copy full SHA for 37fee95 - Browse repository at this point
Copy the full SHA 37fee95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f2e700 - Browse repository at this point
Copy the full SHA 0f2e700View commit details
Commits on Sep 1, 2023
-
- Added new Curve#contains method and leveraged that to clean up code considerably in EcdhKeyAlgorithm.java
Configuration menu - View commit details
-
Copy full SHA for 8e4eb2b - Browse repository at this point
Copy the full SHA 8e4eb2bView commit details -
- Moved Curve#contains method to AbstractCurve since we don't necessa…
…rily want to make that available before ED curve calculations are ready
Configuration menu - View commit details
-
Copy full SHA for 26f31ce - Browse repository at this point
Copy the full SHA 26f31ceView commit details -
- Updated Pkcs11Test to account for nested ProviderExceptions that we…
… can't control across JVM versions w/ SoftHSM
Configuration menu - View commit details
-
Copy full SHA for 9965456 - Browse repository at this point
Copy the full SHA 9965456View commit details -
- renamed Keys#associate to Keys#wrap to be a little clearer on what'…
…s happening - Updated README.md to document how to account for ECDH-ES and PKCS11 PrivateKeys
Configuration menu - View commit details
-
Copy full SHA for 59bf3c6 - Browse repository at this point
Copy the full SHA 59bf3c6View commit details -
- renamed Keys#associate to Keys#wrap to be a little clearer on what'…
…s happening - Updated README.md to document how to account for ECDH-ES and PKCS11 PrivateKeys
Configuration menu - View commit details
-
Copy full SHA for cfc0579 - Browse repository at this point
Copy the full SHA cfc0579View commit details -
- renamed Keys#associate to Keys#wrap to be a little clearer on what'…
…s happening - Updated README.md to document how to account for ECDH-ES and PKCS11 PrivateKeys
Configuration menu - View commit details
-
Copy full SHA for 4afa451 - Browse repository at this point
Copy the full SHA 4afa451View commit details -
- Updated softhsm script to ensure EC key import used the pkcs11-tool…
… `--usage-derive` flag to allow testing PKCS11 keys with ECDH-ES key algorithms
Configuration menu - View commit details
-
Copy full SHA for a4d7ae4 - Browse repository at this point
Copy the full SHA a4d7ae4View commit details -
- Renamed CryptoAlgorithm#generateKey to #generateCek to be more expl…
…icit in its purpose. - Introduced new CryptoAlgorithm#nonPkcs11Provider to ensure PKCS11 provider won't be used when required key material is required (i.e. for ephemeral key(pair) KeyAlgorithms). - Ensured CryptoAlgorithm#generateCek ignored applying a PKCS11 provider since required key material wouldn't be available otherwise.
Configuration menu - View commit details
-
Copy full SHA for 1a72ba1 - Browse repository at this point
Copy the full SHA 1a72ba1View commit details
Commits on Sep 2, 2023
-
- Renamed CryptoAlgorithm#generateKey to #generateCek to be more expl…
…icit in its purpose. - Introduced new CryptoAlgorithm#nonPkcs11Provider to ensure PKCS11 provider won't be used when required key material is required (i.e. for ephemeral key(pair) KeyAlgorithms). - Ensured CryptoAlgorithm#generateCek ignored applying a PKCS11 provider since required key material wouldn't be available otherwise. - Ensured DefaultJwtBuilder and DefaultJwtParser would use the provider for the KeyAlgorithm, but not for the AeadAlgorithm (unless using direct encryption)
Configuration menu - View commit details
-
Copy full SHA for 637d76e - Browse repository at this point
Copy the full SHA 637d76eView commit details -
- Adjusted test case to ensure deterministic outcomes
- Consolidated unsigned byte array length calculation for non-negative integers (used in a few places) to a new Bytes#uintLength method. Refactored other classes to use this new method to eliminate code duplication
Configuration menu - View commit details
-
Copy full SHA for 20bfe4a - Browse repository at this point
Copy the full SHA 20bfe4aView commit details -
- Adjusted test case to ensure deterministic outcomes
- Consolidated unsigned byte array length calculation for non-negative integers (used in a few places) to a new Bytes#uintLength method. Refactored other classes to use this new method to eliminate code duplication
Configuration menu - View commit details
-
Copy full SHA for 09d0dab - Browse repository at this point
Copy the full SHA 09d0dabView commit details -
- Added tests for JWS MAC algorithms (HS256, HS384, HS512) with PKCS1…
…1 secret keys - Explicitly prevented Password instances in DefaultMacAlgorithm - Fixed the EdwardsCurve#keyBitLength implementation to accurately reflect RFC key sizes and not encoded byte array sizes. - OptionalMethodInvoker now supports static invocations in addition to the existing instance invocation support.
Configuration menu - View commit details
-
Copy full SHA for a5eea43 - Browse repository at this point
Copy the full SHA a5eea43View commit details
Commits on Sep 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a2bfddd - Browse repository at this point
Copy the full SHA a2bfdddView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba609b1 - Browse repository at this point
Copy the full SHA ba609b1View commit details