-
Notifications
You must be signed in to change notification settings - Fork 32
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
RSA Signing & Verification Support #35
Commits on Oct 4, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0c417a0 - Browse repository at this point
Copy the full SHA 0c417a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 189c3ea - Browse repository at this point
Copy the full SHA 189c3eaView commit details -
Only allow rsa-sha1 and rsa-256
* Specification does not permit other hash algorithms for RSA signatures
Configuration menu - View commit details
-
Copy full SHA for 07b9967 - Browse repository at this point
Copy the full SHA 07b9967View commit details -
Configuration menu - View commit details
-
Copy full SHA for 473cbad - Browse repository at this point
Copy the full SHA 473cbadView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc69698 - Browse repository at this point
Copy the full SHA dc69698View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14e3882 - Browse repository at this point
Copy the full SHA 14e3882View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15b6da9 - Browse repository at this point
Copy the full SHA 15b6da9View commit details -
Add Algorithm type discriminator
* Avoid Class tests, easier to add EC keys later (also asym)
Configuration menu - View commit details
-
Copy full SHA for 15af312 - Browse repository at this point
Copy the full SHA 15af312View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95f6e83 - Browse repository at this point
Copy the full SHA 95f6e83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 950d4f2 - Browse repository at this point
Copy the full SHA 950d4f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ade094 - Browse repository at this point
Copy the full SHA 7ade094View commit details -
Extend Key class to handle RSA Keys/Certs
* Create a "Key" with only a certificate (for verification) * Create a Key with a private key for signing/authorising * Create a Key with both because someone will want to * Generate exception if certificate and key are not related * Separate signing flows for hmac (secret) and asymmetric (privateKey)
Configuration menu - View commit details
-
Copy full SHA for b37a4f5 - Browse repository at this point
Copy the full SHA b37a4f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a6ee8d - Browse repository at this point
Copy the full SHA 0a6ee8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac68287 - Browse repository at this point
Copy the full SHA ac68287View commit details -
Configuration menu - View commit details
-
Copy full SHA for 983068f - Browse repository at this point
Copy the full SHA 983068fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 808ef53 - Browse repository at this point
Copy the full SHA 808ef53View commit details -
Configuration menu - View commit details
-
Copy full SHA for adc21df - Browse repository at this point
Copy the full SHA adc21dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01e949f - Browse repository at this point
Copy the full SHA 01e949fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 126b8ed - Browse repository at this point
Copy the full SHA 126b8edView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2be764 - Browse repository at this point
Copy the full SHA b2be764View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2aa561e - Browse repository at this point
Copy the full SHA 2aa561eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9668633 - Browse repository at this point
Copy the full SHA 9668633View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf0b6b8 - Browse repository at this point
Copy the full SHA bf0b6b8View commit details -
New AlgorithmException class and common digest selection function
* Unit Test for bad algorithm choice * Common algorithm selection function to improve maintainability when algorithms change (single implementation in verify() and sign() * Move Algorithm instantiation to Context creation: Get earlier feedback on bad hash algorithm choice - error should occur at time of bad data input, not usage.
Configuration menu - View commit details
-
Copy full SHA for be3715f - Browse repository at this point
Copy the full SHA be3715fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2833a73 - Browse repository at this point
Copy the full SHA 2833a73View commit details -
README with HMAC/RSA usage and separating Sign/Validate flows
* Need better documentation around key handling (e.g. no mention of using an existing KeyStore object)
Configuration menu - View commit details
-
Copy full SHA for 17c8c65 - Browse repository at this point
Copy the full SHA 17c8c65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93a3ab3 - Browse repository at this point
Copy the full SHA 93a3ab3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9511b5 - Browse repository at this point
Copy the full SHA d9511b5View commit details -
Keys: Better ways to expose Signing and Verifying keys
* Hide internal representation of keys * Better approach for asymmetric keys in one Key object * function getSigningKey() - Secret for HMAC, Private Key for RSA * function getVerifyingKey() - Secret for HMAX, Piblic Key for RSA * Move from certificates to public keys for overall consistency * Preserve existing key import methods (may need to change with future developments)
Configuration menu - View commit details
-
Copy full SHA for d585c95 - Browse repository at this point
Copy the full SHA d585c95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cbd463 - Browse repository at this point
Copy the full SHA 9cbd463View commit details -
* Implementation is correct against this draft, good to use latest link
Configuration menu - View commit details
-
Copy full SHA for 2bdaaa8 - Browse repository at this point
Copy the full SHA 2bdaaa8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75d55ef - Browse repository at this point
Copy the full SHA 75d55efView commit details -
Configuration menu - View commit details
-
Copy full SHA for c85b0a0 - Browse repository at this point
Copy the full SHA c85b0a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 230b033 - Browse repository at this point
Copy the full SHA 230b033View commit details
Commits on Oct 9, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 93c0c45 - Browse repository at this point
Copy the full SHA 93c0c45View commit details -
Cleaner Key class and sundry names
* Key now handles inputs as X.509, naked Public Key and Private Key (all PEM) * Improved & clearer detection logic with explicit tests for asymmetric key material, falling back on shared secret for HMAC if asymmetric keys are not detected hasX509Certificate() hasPublicKey() hasPrivateKey() * Clearer names for test constants (easier to expand to EC later)
Configuration menu - View commit details
-
Copy full SHA for b9ae276 - Browse repository at this point
Copy the full SHA b9ae276View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67c3d32 - Browse repository at this point
Copy the full SHA 67c3d32View commit details
Commits on Aug 2, 2019
-
Travis build fixes and include phpunit script
- Remove unsupported Symfony/PHP version combinations - Add PHP 7.3 support
Configuration menu - View commit details
-
Copy full SHA for 3ee2ea5 - Browse repository at this point
Copy the full SHA 3ee2ea5View commit details