Skip to content
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

Update to GopenPGP v3 #258

Merged
merged 186 commits into from
Aug 14, 2024
Merged

Update to GopenPGP v3 #258

merged 186 commits into from
Aug 14, 2024

Conversation

lubux
Copy link
Contributor

@lubux lubux commented Nov 23, 2023

GopenPGP v3 is a complete redesign of the GopenPGP library an introduces a new API.

@lubux lubux marked this pull request as draft November 23, 2023 12:43
Copy link
Collaborator

@wussler wussler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @lubux, great design - mostly minor cosmetic comments sprinkled with a couple possible bugs.

Before merging, we should compile this for go-mobile and check that there is no method being excluded due to some silly constraints.

README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
crypto/decryption_handle.go Outdated Show resolved Hide resolved
crypto/encoding.go Show resolved Hide resolved
crypto/verify_handle.go Outdated Show resolved Hide resolved
crypto/verify_handle.go Outdated Show resolved Hide resolved
crypto/verify_reader.go Outdated Show resolved Hide resolved
mime/signature_collector.go Outdated Show resolved Hide resolved
profile/preset.go Show resolved Hide resolved
@lubux
Copy link
Contributor Author

lubux commented Dec 1, 2023

Hey @wussler! Appreciate your thoughtful review and the detailed suggestions. I've taken care of most of them and added comments where needed. If there's anything else that requires attention, let me know. Thanks again!

Copy link
Collaborator

@wussler wussler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last batch of nitpicks, mostly cosmetic stuff. There is just one comment of a disappearing error that may be a bug, rest is comments.

Again, good job!

mobile/mobile_stream.go Outdated Show resolved Hide resolved
crypto/verify_reader.go Outdated Show resolved Hide resolved
mime/mime.go Outdated Show resolved Hide resolved
crypto/verify_handle.go Outdated Show resolved Hide resolved
crypto/verify_handle.go Outdated Show resolved Hide resolved
crypto/decryption_core.go Outdated Show resolved Hide resolved
crypto/decryption.go Outdated Show resolved Hide resolved
crypto/crypto_example_test.go Show resolved Hide resolved
constants/version.go Outdated Show resolved Hide resolved
armor/armor.go Outdated Show resolved Hide resolved
@lubux lubux marked this pull request as ready for review December 7, 2023 10:16
@lubux lubux requested a review from twiss December 7, 2023 10:17
@wussler
Copy link
Collaborator

wussler commented Dec 11, 2023

This PR is good to go for me. I'll finish reviewing go-crypto before we merge both.

lubux and others added 12 commits April 12, 2024 14:33
In GopenPGP v3, the verified data reader did not return a verification result if no verification keys were provided during decryption. This PR ensures that a verification result is returned even when no verification keys are provided. The verification result indicates that there were no matching verification keys.

Further updates go-crypto to v1.1.0-alpha.2.
* Add parsing and serializing interfaces for keyrings

* Make error check more compact
@lubux lubux added the v3 Targeting GopenPGP v3 label Jun 11, 2024
lubux and others added 3 commits June 14, 2024 10:41
* feat(armor): Armor checksum handling according to the crypto refresh

* docs(readme): Add info about v2 support

* refactor(armor): Improve checksum naming

* refactor(armor): Rename global checksum setting variable
@lubux lubux merged commit ae58849 into main Aug 14, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v3 Targeting GopenPGP v3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants