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

Add support for multiple emails per user #4957

Closed
2 of 7 tasks
RyanSquared opened this issue Sep 19, 2018 · 5 comments
Closed
2 of 7 tasks

Add support for multiple emails per user #4957

RyanSquared opened this issue Sep 19, 2018 · 5 comments
Labels
type/question Issue needs no code to be fixed, only a description on how to fix it yourself.

Comments

@RyanSquared
Copy link

Description

GitHub allows for users to add multiple emails, listing one as the "primary" email. This is useful as it allows users to have various GPG keys with different emails associated with an account without having verification issues.

This feature is essential for Gitea's verification, as right now my commits are showing as unverified, because the email used to sign them is different than the one associated with my account.

@lafriks
Copy link
Member

lafriks commented Sep 19, 2018

Gitea already does support multiple emails, see user settings

@lafriks lafriks closed this as completed Sep 19, 2018
@lafriks lafriks added the type/question Issue needs no code to be fixed, only a description on how to fix it yourself. label Sep 19, 2018
@RyanSquared
Copy link
Author

RyanSquared commented Sep 19, 2018

Sorry about that. I saw on the landing page for the settings that there was one "Email Address". Why are there two UIs for the same thing?

@lafriks
Copy link
Member

lafriks commented Sep 19, 2018

It just historicaly how it was easier to add. GitHub also has it this way

@RyanSquared
Copy link
Author

RyanSquared commented Sep 19, 2018

GitHub has a dedicated section for managing emails. Not sure whether that's new or not with the redesign. GitHub also mentions that it's the "primary" email, which indicates you can have at least a secondary.

Onto another issue, it appears as though only one email is being parsed from my key. GitHub says the key is: "Email addresses: ryan@hashbang.sh vandor2012@gmail.com" I know that I ran gpg --export --armor ryan@hashbang.sh, but after putting it into Gitea, it was listed as vandor2012@gmail.com.

@RyanSquared
Copy link
Author

To clarify on the issue: Gitea expects the key to be made from vandor2012@gmail.com. However, the signature is parsed as coming from ryan@hashbang.sh

@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
type/question Issue needs no code to be fixed, only a description on how to fix it yourself.
Projects
None yet
Development

No branches or pull requests

2 participants