summaryrefslogtreecommitdiffstats
path: root/models/user_mail_test.go
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-10-07 21:10:14 +0100
committerGitHub <noreply@github.com>2021-10-07 23:10:14 +0300
commit46cac263ca9f350fbc414b795e42f79d4d241e28 (patch)
tree1e9072fcf4750adf47566be59e44a64fbe07e1ed /models/user_mail_test.go
parent29acb3213b39a47dfab3e3e91ebb12931eca48b9 (diff)
downloadgitea-46cac263ca9f350fbc414b795e42f79d4d241e28.tar.gz
gitea-46cac263ca9f350fbc414b795e42f79d4d241e28.zip
Handle duplicate keys on GPG key ring (#17242)
It is possible that a keyring can contain duplicate keys on a keyring due to jpegs or other layers. This currently leads to a confusing error for the user - where we report a duplicate key insertion. This PR simply coalesces keys into one key if there are duplicates. Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'models/user_mail_test.go')
0 files changed, 0 insertions, 0 deletions