summaryrefslogtreecommitdiffstats
path: root/models/gpg_key.go
Commit message (Collapse)AuthorAgeFilesLines
* Fix null pointer dereference in ParseCommitWithSignature (#4962)SagePtr2018-09-201-1/+1
|
* Don't write to log NoCommitterAccount (#3621)Morgan Bazalgette2018-03-041-1/+5
| | | | | | | | | | | * Don't write to log NoCommitterAccount It's way too verbose, and the information is also printed to the user already. Fixes #3602. * ignore err only if it's a ErrUserNotExist * Replace with IsErrUserNotExist
* Refactor struct's time to remove unnecessary memory usage (#3142)Lunny Xiao2017-12-111-22/+14
| | | | | | | | | | | | | | * refactor struct's time to remove unnecessary memory usage * use AsTimePtr simple code * fix tests * fix time compare * fix template on gpg * use AddDuration instead of Add
* GPG key email verification no longer case sensitive (#2661) (#2663)Julian Scholle2017-10-061-1/+2
| | | | | | | * GPG key email verification no longer case sensitive (#2661) * case insensitive GPG key email verification now cached (#2661) Signed-off-by: Julian Scholle <julian.scholle@googlemail.com>
* Replace deprecated Id method with ID (#2655)Ethan Koenig2017-10-051-1/+1
|
* Use AfterLoad instead of AfterSet on Structs (#2628)Lunny Xiao2017-10-011-11/+9
| | | | | | | | * use AfterLoad instead of AfterSet on Structs * fix the comments on AfterLoad * fix the comments on action AfterLoad
* Fix lint errors (#2547)Ethan Koenig2017-09-191-5/+1
|
* Only check at least one email gpg key (#2266)Antoine GIRARD2017-09-051-9/+27
| | | | | | | | | | | | | | | | | | | | | | * Only require one email (possibly not yet validated) * Update message error and check validation of commit * Add integrations tests * Complete integration for import * Add pre-check/optimization * Add some test (not finished) * Finish * Fix fixtures * Fix typo * Don't guess key ID
* remove unnecessary blank lines and wrong error logLunny Xiao2017-06-281-3/+1
|
* Refactor session close as xorm already does everything needed internally (#2020)Lauris BH2017-06-211-2/+2
|
* Fix GPG email checking to be case insensitive (#1988)Lauris BH2017-06-171-2/+2
|
* Switch to keybase go-crypto (for some elliptic curve key) + test (#1925)Antoine GIRARD2017-06-141-3/+3
| | | | | | | | | | | | * Switch to keybase go-crypto (for some elliptic curve key) + test * Use assert.NoError and add a little more context to failing test description * Use assert.(No)Error everywhere 🌈 and assert.Error in place of .Nil/.NotNil
* Rework SSH key management UI to add GPG (#1293)Antoine GIRARD2017-04-261-12/+21
| | | | | | | | | | | | | | | | | | | | | | | * Rework SSH key management UI to add GPG * Add more detail to gpg key display * Update CHANGELOG.md * Implement deletion UI * Implement adding gpg UI * Various fixes - Fix duplicate entry in locale - Re-generate hash before verification since they are consumed * Add missing translation * Split template * Catch not found/verified email error
* GPG commit validation (#1150)Antoine GIRARD2017-03-221-0/+186
| | | | | | | | | | | | * GPG commit validation * Add translation + some little fix * Move hash calc after retrieving of potential key + missing translation * Add some little test
* fix gpg wrong column typesLunny Xiao2017-03-201-2/+2
|
* Implement GPG api (#710)Antoine GIRARD2017-03-161-0/+276
* Implement GPG API * Better handle error * Apply review recommendation + simplify database operations * Remove useless comments