-
Notifications
You must be signed in to change notification settings - Fork 7
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
Introduce separate types for different keys #72
base: master
Are you sure you want to change the base?
Commits on May 31, 2023
-
NOnion: introduced expanded blinded key types
Introduced types for public and private expanded blinded keys that wrap byte array representation of those keys. Use those types instead of raw byte arrays. This should improve code clarity and potentially, safety.
Configuration menu - View commit details
-
Copy full SHA for 3ba510c - Browse repository at this point
Copy the full SHA 3ba510cView commit details -
NOnion: changed some types used for keys
Introduced NTorOnionKey type that wraps byte array and use it where applicable. Use Ed25519PublicKeyParameters instead of byte array for IntroductionPointInfo.MasterPublicKey. This should improve code clarity and potentially, safety.
Configuration menu - View commit details
-
Copy full SHA for a37f69c - Browse repository at this point
Copy the full SHA a37f69cView commit details
Commits on Jun 1, 2023
-
NOnion: introduced IdentityKey type
Introduced IdentityKey type that wraps byte array and use it where applicable. This should improve code clarity and potentially, safety.
Configuration menu - View commit details
-
Copy full SHA for 1fc0305 - Browse repository at this point
Copy the full SHA 1fc0305View commit details -
Renamed OnionKey to NTorOnionKey in IntroductionPointInfo.
Configuration menu - View commit details
-
Copy full SHA for d62958b - Browse repository at this point
Copy the full SHA d62958bView commit details -
NOnion: make NTorOnionKey validate length
Make NTorOnionKey type validate key length on creation.
Configuration menu - View commit details
-
Copy full SHA for 5e22cc4 - Browse repository at this point
Copy the full SHA 5e22cc4View commit details -
NOnion: make IdentityKey validate length
Make IdentityKey type validate key length on creation. Improve error message for wrong key length.
Configuration menu - View commit details
-
Copy full SHA for 871bf87 - Browse repository at this point
Copy the full SHA 871bf87View commit details -
NOnion: renamed ExpandedBlindedPublicKey
Renamed ExpandedBlindedPublicKey to BlindedPublicKey.
Configuration menu - View commit details
-
Copy full SHA for ff994c7 - Browse repository at this point
Copy the full SHA ff994c7View commit details -
Renamed ExpandedBlindedPrivateKey to Ed25519PrivateKey, which now can be either NormalEd25519PrivateKey or ExpandedEd25519PrivateKey. Implemented length checks for both. Renamed BlindedPublicKey to ED25519PublicKey.
Configuration menu - View commit details
-
Copy full SHA for 6963b36 - Browse repository at this point
Copy the full SHA 6963b36View commit details -
NOnion: use BouncyCastle types
Use BouncyCastle types for Ed25519PrivateKey.NormalEd25519 and ED25519PublicKey.
Configuration menu - View commit details
-
Copy full SHA for 269e6e1 - Browse repository at this point
Copy the full SHA 269e6e1View commit details
Commits on Jun 5, 2023
-
Renamed IdentityKey type to Fingerprint as technically this is the digest of identity key.
Configuration menu - View commit details
-
Copy full SHA for 7e325e9 - Browse repository at this point
Copy the full SHA 7e325e9View commit details