Allows Key Flags override, fixes #205#272
Merged
twiss merged 1 commit intoProtonMail:mainfrom Feb 20, 2025
davrux:main
Merged
Conversation
twiss
reviewed
Feb 17, 2025
Collaborator
twiss
left a comment
There was a problem hiding this comment.
Hi 👋 Thanks for the great PR and for writing tests as well! Some minor nitpicks only about the latter below.
twiss
reviewed
Feb 17, 2025
twiss
approved these changes
Feb 17, 2025
Contributor
Author
|
Is there anything else I can do? |
Collaborator
|
Hey 👋 Sorry for the delay. CI is complaining that "Code scanning is waiting for results from CodeQL", for some reason, so I squashed the commits in hopes that will help. |
Added InsecureAllowAllKeyFlagsWhenMissing to packet.Config. Allows usage of keys without key flags.
Collaborator
|
Thanks again! |
DennisRasey
pushed a commit
to DennisRasey/forgejo
that referenced
this pull request
Feb 28, 2025
…068) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/ProtonMail/go-crypto](https://github.com/ProtonMail/go-crypto) | require | patch | `v1.1.5` -> `v1.1.6` | --- ### Release Notes <details> <summary>ProtonMail/go-crypto (github.com/ProtonMail/go-crypto)</summary> ### [`v1.1.6`](https://github.com/ProtonMail/go-crypto/releases/tag/v1.1.6) [Compare Source](ProtonMail/go-crypto@v1.1.5...v1.1.6) #### What's Changed - Fix `PublicKey.KeyIdString` to return a valid key id by [@​lubux](https://github.com/lubux) in ProtonMail/go-crypto#269 - Allow Key Flags override [@​davrux](https://github.com/davrux) in ProtonMail/go-crypto#272 - Only check that message signatures are newer than the key by [@​twiss](https://github.com/twiss) in ProtonMail/go-crypto#275 - openpgp/clearsign: just use rand.Reader in tests by [@​mdosch](https://github.com/mdosch) in ProtonMail/go-crypto#276 - Make Issuer Key ID signature subpacket non-critical by [@​caarlos0](https://github.com/caarlos0) in ProtonMail/go-crypto#266 - v2 API: Improve error messages for encryption key selection by [@​lubux](https://github.com/lubux) in ProtonMail/go-crypto#271 **Full Changelog**: ProtonMail/go-crypto@v1.1.5...v1.1.6 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "* 0-3 * * *" (UTC), Automerge - "* 0-3 * * *" (UTC). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzguMSIsInVwZGF0ZWRJblZlciI6IjM5LjE3OC4xIiwidGFyZ2V0QnJhbmNoIjoiZm9yZ2VqbyIsImxhYmVscyI6WyJkZXBlbmRlbmN5LXVwZ3JhZGUiLCJ0ZXN0L25vdC1uZWVkZWQiXX0=--> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7068 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org> Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added InsecureAllowAllKeyFlagsWhenMissing to packet.Config.
Allows usage of keys without key flags.