-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve misuse-resistance by removing public-key as public API parame…
…ter in `sign()` operations (#65) * Add test for Double PK Attack on V2/V4 with Ed25519 * WiP * v2/v4: AsymmetricSecret holds seed||pk and uses only this to sign * v3: Make sing() API consistent with V3/V4 * v2/v4: Provide TryFrom<AsymmetricSecretKey> for AsymmetricPublicKey now that secret conatins both seed and pk * v2/v4: PASERK is now implemented on AsymmetricSecretKey instead of keypair * Revert to normal default features * Bump version * Update changelog * Update fuzzing targets * nit
- Loading branch information
Showing
11 changed files
with
188 additions
and
194 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "pasetors" | ||
version = "0.5.0" # Update html_root_url in lib.rs along with this. | ||
version = "0.6.0" # Update html_root_url in lib.rs along with this. | ||
authors = ["brycx <[email protected]>"] | ||
edition = "2018" | ||
description = "PASETO: Platform-Agnostic Security Tokens (in Rust)" | ||
|
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.