-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test (missing) RSA key support in Secure Session (#710)
* Add Go tests * Add JS tests * Add Python tests, fix Python wrapper * Add Ruby tests, fix Ruby wrapper * Add C++ tests, fix typos * Check Secure Session constuction failure in ObjCThemis Verify that Secure Session has been constructed successfully. This should catch RSA keys being passed to the initializer earlier. * Update changelog, mention fixes of NodeJS (#698), Python, Ruby, ObjC, Swift wrappers * Update .gitignore by adding few things like Ruby `.gem` packages, Python package metadata, another Rust `target` directory The 'tests' above are: * Whether Secure Session constructor accepts EC private key * Whether Secure Session constructor rejects EC public and RSA private and RSA public keys The fixes mentioned above were wrong/missing checks whether `secure_session_create()` returned NULL. Python and Ruby were doing it wrong and didn't throw the exception while ObjC was completely missing the check. Co-authored-by: Alexei Lozovsky <[email protected]>
- Loading branch information
1 parent
4ae325d
commit 858f23f
Showing
12 changed files
with
373 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.