-
Notifications
You must be signed in to change notification settings - Fork 110
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: ProtonMail/go-crypto
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.1.0-alpha.2
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: ProtonMail/go-crypto
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.1.0-alpha.2-proton
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 19 commits
- 48 files changed
- 5 contributors
Commits on Feb 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7caa0ac - Browse repository at this point
Copy the full SHA 7caa0acView commit details -
Configuration menu - View commit details
-
Copy full SHA for f216643 - Browse repository at this point
Copy the full SHA f216643View commit details -
openpgp: Add support for symmetric subkeys (#74)
It is sometimes useful to encrypt data under some symmetric key. While this was possible to do using passphrase-derived keys, there was no support for long-term storage of the keys that was used to encrypt the key packets. To solve this, a new type of key is introduced. This key will hold a symmetric key, and will be used for both encryption and decryption of data. Specifically, as with asymmetric keys, the actual data will be encrypted using a session key, generated ad-hoc for these data. Then, instead of using a public key to encrypt the session key, the persistent symmetric key will be used instead, to produce a, so to say, Key Encrypted Key Packet. Conversly, instead of using a private key to decrypt the session key, the same symmetric key will be used. Then, the decrypted session key can be used to decrypt the data packet, as usual. As with the case of AEAD keys, it is sometimes useful to "sign" data with a persistent, symmetric key. This key holds a symmetric key, which can be used for both signing and verifying the integrity of data. While not strictly needed, the signature process will first generate a digest of the data-to-be-signed, and then the key will be used to sign the digest, using an HMAC construction. For technical reasons, related to this implenetation of the openpgp protocol, the secret key material is also stored in the newly defined public key types. Future contributors must take note of this, and not export or serialize that key in a way that it will be publicly availabe. Since symmetric keys do not have a public and private part, there is no point serializing the internal "public key" structures. Thus, symmetric keys are skipped when serialing the public part of a keyring.
Configuration menu - View commit details
-
Copy full SHA for 5f4f999 - Browse repository at this point
Copy the full SHA 5f4f999View commit details -
Configuration menu - View commit details
-
Copy full SHA for e06eb14 - Browse repository at this point
Copy the full SHA e06eb14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15f4fc9 - Browse repository at this point
Copy the full SHA 15f4fc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c95855 - Browse repository at this point
Copy the full SHA 7c95855View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07b9267 - Browse repository at this point
Copy the full SHA 07b9267View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7aa303d - Browse repository at this point
Copy the full SHA 7aa303dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23fe98f - Browse repository at this point
Copy the full SHA 23fe98fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26779fb - Browse repository at this point
Copy the full SHA 26779fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for b188297 - Browse repository at this point
Copy the full SHA b188297View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b0fb2f - Browse repository at this point
Copy the full SHA 5b0fb2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5a01d4 - Browse repository at this point
Copy the full SHA d5a01d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c99f7e5 - Browse repository at this point
Copy the full SHA c99f7e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28d1c85 - Browse repository at this point
Copy the full SHA 28d1c85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16f8541 - Browse repository at this point
Copy the full SHA 16f8541View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54e58ae - Browse repository at this point
Copy the full SHA 54e58aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 65ad1e4 - Browse repository at this point
Copy the full SHA 65ad1e4View commit details
Commits on Mar 14, 2024
-
Generate an AEAD subkey when requesting an HMAC primary key.
Configuration menu - View commit details
-
Copy full SHA for 91b9355 - Browse repository at this point
Copy the full SHA 91b9355View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.1.0-alpha.2...v1.1.0-alpha.2-proton