summaryrefslogtreecommitdiffstats
path: root/models/gpg_key_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Allow addition of gpg keyring with multiple keys (#12487)zeripath2020-08-211-4/+6
| | | | | | | Related #6778 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
* Display ui time with customize time location (#7792)Lunny Xiao2019-08-151-3/+3
| | | | | | | | | | | | | | | | | | * display ui time with customize time location * fix lint * rename UILocation to DefaultUILocation * move time related functions to modules/timeutil * fix tests * fix tests * fix build * fix swagger
* Fix wrong GPG expire date (#6643)Antoine GIRARD2019-04-151-0/+151
| | | | | | * fix expire of gpg relative to key creation https://tools.ietf.org/html/rfc4880#section-5.2.3.6 * add test
* Refactor struct's time to remove unnecessary memory usage (#3142)Lunny Xiao2017-12-111-2/+4
| | | | | | | | | | | | | | * 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
* Fix tests code to prevent some runtime errors (#2381)Morlinest2017-08-281-2/+3
| | | | | | * Fix tests code to prevent some runtime errors * Reduce nesting
* Fix GPG email checking to be case insensitive (#1988)Lauris BH2017-06-171-0/+39
|
* Switch to keybase go-crypto (for some elliptic curve key) + test (#1925)Antoine GIRARD2017-06-141-10/+31
| | | | | | | | | | | | * 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
* feat: add check misspelling (#1877)Bo-Yi Wu2017-06-051-1/+1
|
* GPG commit validation (#1150)Antoine GIRARD2017-03-221-0/+116
| | | | | | | | | | | | * GPG commit validation * Add translation + some little fix * Move hash calc after retrieving of potential key + missing translation * Add some little test
* Implement GPG api (#710)Antoine GIRARD2017-03-161-0/+48
* Implement GPG API * Better handle error * Apply review recommendation + simplify database operations * Remove useless comments