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

Ensure Subkeys are verified #12155

Merged

Conversation

zeripath
Copy link
Contributor

@zeripath zeripath commented Jul 5, 2020

When attempting to verify subkeys the email address verification step
requires checking the emails however, these emails are not stored on
subkeys but instead on the primary key.

This PR will obtain the primaryKey and check against these emails too.

Fix #12128

Signed-off-by: Andrew Thornton [email protected]

@zeripath zeripath added type/bug backport/done All backports for this PR have been created labels Jul 5, 2020
@zeripath zeripath added this to the 1.13.0 milestone Jul 5, 2020
@zeripath zeripath force-pushed the verification-failure-sub-keys branch from a044c28 to 6d5333c Compare July 5, 2020 19:20
When attempting to verify subkeys the email address verification step
requires checking the emails however, these emails are not stored on
subkeys but instead on the primary key.

This PR will obtain the primaryKey and check against these emails too.

Fix go-gitea#12128

Signed-off-by: Andrew Thornton <[email protected]>
@zeripath zeripath force-pushed the verification-failure-sub-keys branch from 6d5333c to 1ab54a8 Compare July 5, 2020 19:21
@zeripath zeripath added backport/v1.12 and removed backport/done All backports for this PR have been created labels Jul 5, 2020
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jul 5, 2020
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jul 6, 2020
@techknowlogick
Copy link
Member

🚀

@techknowlogick techknowlogick merged commit 8a0bb7c into go-gitea:master Jul 6, 2020
@techknowlogick
Copy link
Member

please send backport :)

@zeripath zeripath deleted the verification-failure-sub-keys branch July 6, 2020 21:43
zeripath added a commit to zeripath/gitea that referenced this pull request Jul 6, 2020
Backport go-gitea#12155

When attempting to verify subkeys the email address verification step
requires checking the emails however, these emails are not stored on
subkeys but instead on the primary key.

This PR will obtain the primaryKey and check against these emails too.

Fix go-gitea#12128

Signed-off-by: Andrew Thornton <[email protected]>

Co-authored-by: techknowlogick <[email protected]>
@lafriks lafriks added the backport/done All backports for this PR have been created label Jul 6, 2020
techknowlogick added a commit that referenced this pull request Jul 7, 2020
Backport #12155

When attempting to verify subkeys the email address verification step
requires checking the emails however, these emails are not stored on
subkeys but instead on the primary key.

This PR will obtain the primaryKey and check against these emails too.

Fix #12128

Signed-off-by: Andrew Thornton <[email protected]>

Co-authored-by: techknowlogick <[email protected]>

Co-authored-by: techknowlogick <[email protected]>
ydelafollye pushed a commit to ydelafollye/gitea that referenced this pull request Jul 31, 2020
When attempting to verify subkeys the email address verification step
requires checking the emails however, these emails are not stored on
subkeys but instead on the primary key.

This PR will obtain the primaryKey and check against these emails too.

Fix go-gitea#12128

Signed-off-by: Andrew Thornton <[email protected]>

Co-authored-by: techknowlogick <[email protected]>
@zeripath zeripath mentioned this pull request Aug 13, 2020
7 tasks
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GPGkeys: subkeys are not imported/used
4 participants