Commit Graph

8 Commits (13439f119eb9de685460776b3e8b31ae69032c23)

Author SHA1 Message Date
KN4CK3R f79c9e817a
Use `crypto/sha256` (#29386) 9 months ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
zeripath 1319ba6742
Use minio/sha256-simd for accelerated SHA256 (#23052) 2 years ago
Jason Song 9607750b5e
Replace fmt.Sprintf with hex.EncodeToString (#21960) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2 years ago
wxiaoguang 49dd906753
Use base32 for 2FA scratch token (#18384) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
Kamil Domański 021df29623
Allow U2F 2FA without TOTP (#11573) 3 years ago
Lunny Xiao 91e21d4fca
Move twofactor to models/login (#17143) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
silverwind 1e6fa57acb
Use single shared random string generation function (#15741) 4 years ago
silverwind cda44750cb
Attachments: Add extension support, allow all types for releases (#12465) 4 years ago
Lunny Xiao 1645d4a5d8
Use ID or Where to instead directly use Get when load object from database (#11925) 5 years ago
Lunny Xiao 85202d4784
Display ui time with customize time location (#7792) 5 years ago
SagePtr 59f879bfec Fix double-generation of scratch token (#6832) (#6833) 6 years ago
techknowlogick adf3f004b6
Switch plaintext scratch tokens to use hash instead (#4331) 6 years ago
Lauris BH 1e1ece8f3d
Do not allow to reuse TOTP passcode (#3878) 7 years ago
Codruț Constantin Gușoi 96c268c0fc Implements generator cli for secrets (#3531) 7 years ago
Morgan Bazalgette edce41ae65 go back to using CFB for AES decryption/encryption for 2FA (#3274) 7 years ago
Lunny Xiao f2e20c81b6 Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
Ethan Koenig b7ebaf6d20 Various wiki bug fixes (#2996) 7 years ago
Ethan Koenig aa962deec0 Replace deprecated Id method with ID (#2655) 7 years ago
Lunny Xiao a8717e5e3a Use AfterLoad instead of AfterSet on Structs (#2628) 7 years ago
Lunny Xiao 005900baea Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 7 years ago
Andrew 6dd096b7f0 Two factor authentication support (#630) 8 years ago