https://github.com/pquerna/otp
Score: 33.40351461756569
Last synced: about 20 hours ago
JSON representation
Repository metadata:
TOTP library for Go
- Host: GitHub
- URL: https://github.com/pquerna/otp
- Owner: pquerna
- License: apache-2.0
- Created: 2014-12-23T23:45:37.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2025-08-07T16:15:45.000Z (6 months ago)
- Last Synced: 2026-02-05T08:16:24.684Z (6 days ago)
- Language: Go
- Homepage:
- Size: 80.1 KB
- Stars: 2,817
- Watchers: 25
- Forks: 249
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Owner metadata:
- Name: Paul Querna
- Login: pquerna
- Email:
- Kind: user
- Description: CTO at ConductorOne
- Website: https://paul.querna.org/
- Location: San Francisco, CA
- Twitter: pquerna
- Company:
- Icon url: https://avatars.githubusercontent.com/u/110123?v=4
- Repositories: 139
- Last Synced at: 2024-04-16T00:05:15.218Z
- Profile URL: https://github.com/pquerna
GitHub Events
Total
- Create event: 1
- Fork event: 21
- Issue comment event: 48
- Issues event: 4
- Pull request event: 11
- Pull request review comment event: 7
- Pull request review event: 11
- Push event: 2
- Release event: 1
- Watch event: 410
- Total: 516
Last Year
- Create event: 1
- Fork event: 7
- Issue comment event: 5
- Issues event: 2
- Pull request event: 3
- Pull request review event: 1
- Release event: 1
- Watch event: 253
- Total: 273
Committers metadata
Last synced: 5 days ago
Total Commits: 73
Total Committers: 26
Avg Commits per committer: 2.808
Development Distribution Score (DDS): 0.466
Commits in past year: 1
Committers in past year: 1
Avg Commits per committer in past year: 1.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| Paul Querna | p****a@a****g | 39 |
| Reginaldo Sousa | r****s@g****m | 4 |
| Cathal Garvey | c****y@c****e | 3 |
| Brandon Cook | p****e@g****m | 2 |
| Jonathan Gillham | j****m | 2 |
| Max | m****w | 2 |
| Shawn Smith | s****h@g****m | 2 |
| Lexman42 | a****o@h****m | 1 |
| Rohit Shriwas | n****0@g****m | 1 |
| Alf-Rune Siqveland | a****e@n****h | 1 |
| Bojan Delić | b****n@d****s | 1 |
| Clar Charr | c****r@c****z | 1 |
| Dominik Schulz | d****z@g****m | 1 |
| Erfan Khadem | 4****h | 1 |
| Francois Marier | f****s@f****g | 1 |
| Mirco Zeiss | m****s@g****m | 1 |
| Nik B | n****t | 1 |
| Roj | r****t@i****m | 1 |
| Ryan Maleki | s****3 | 1 |
| Sevban Bayrak | 4****k | 1 |
| Vineet Menon | m****n@g****m | 1 |
| ben-rowe | y****e@g****m | 1 |
| champkeh | c****e@g****m | 1 |
| juunini | 4****i | 1 |
| kszafran | k****i@g****m | 1 |
| srinivas32 | 7****2 | 1 |
Issue and Pull Request metadata
Last synced: about 1 month ago
Total issues: 49
Total pull requests: 66
Average time to close issues: 2 months
Average time to close pull requests: about 2 months
Total issue authors: 45
Total pull request authors: 41
Average comments per issue: 2.35
Average comments per pull request: 0.7
Merged pull request: 39
Bot issues: 0
Bot pull requests: 0
Past year issues: 7
Past year pull requests: 6
Past year average time to close issues: 2 months
Past year average time to close pull requests: about 7 hours
Past year issue authors: 7
Past year pull request authors: 3
Past year average comments per issue: 0.43
Past year average comments per pull request: 0.33
Past year merged pull request: 2
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- ghost (3)
- Nogawan (2)
- matiasdias (2)
- Andudududu (1)
- shubhagrwl-manta (1)
- AlexDede (1)
- OscarVanL (1)
- bmdelacruz (1)
- Shoowa (1)
- daviian (1)
- GeorgeMonroyo (1)
- ryan-swit (1)
- ancogamer (1)
- delicb (1)
- nizigama (1)
Top Pull Request Authors
- pquerna (12)
- eafun (2)
- Laotree (2)
- KEINOS (2)
- Plaenkler (2)
- d-fal (2)
- shawnps (2)
- nxm (2)
- maxvw (2)
- alfrunes (2)
- fmarier (2)
- yogo1212 (2)
- james-d-elliott (2)
- nikicat (2)
- tobias1710 (2)
Top Issue Labels
Top Pull Request Labels
- hacktoberfest (1)
- hacktoberfest-accepted (1)
Package metadata
- Total packages: 3
- Total downloads: unknown
- Total docker downloads: 4,362,556,163
- Total dependent packages: 5,199 (may contain duplicates)
- Total dependent repositories: 5,517 (may contain duplicates)
- Total versions: 7
proxy.golang.org: github.com/pquerna/otp
Package otp implements both HOTP and TOTP based one time passcodes in a Google Authenticator compatible manner. When adding a TOTP for a user, you must store the "secret" value persistently. It is recommended to store the secret in an encrypted field in your datastore. Due to how TOTP works, it is not possible to store a hash for the secret value like you would a password. To enroll a user, you must first generate an OTP for them. Google Authenticator supports using a QR code as an enrollment method: Validating a TOTP passcode is very easy, just prompt the user for a passcode and retrieve the associated user's previously stored secret.
- Homepage: https://github.com/pquerna/otp
- Documentation: https://pkg.go.dev/github.com/pquerna/otp#section-documentation
- Licenses: Apache-2.0
- Latest release: v1.5.0 (published about 1 year ago)
- Last Synced: 2026-02-03T23:12:01.016Z (7 days ago)
- Versions: 6
- Dependent Packages: 5,199
- Dependent Repositories: 5,517
- Docker Downloads: 4,362,556,163
-
Rankings:
- Dependent packages count: 0.038%
- Docker downloads count: 0.056%
- Dependent repos count: 0.108%
- Average: 0.787%
- Stargazers count: 1.642%
- Forks count: 2.091%
proxy.golang.org: github.com/pquerna/otp/interop
- Homepage: https://github.com/pquerna/otp
- Documentation: https://pkg.go.dev/github.com/pquerna/otp/interop#section-documentation
- Licenses: Apache-2.0
- Latest release: (published 6 days ago)
- Last Synced: 2026-02-05T02:35:36.134Z (6 days ago)
- Versions: 0
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 1.033%
- Forks count: 1.295%
- Average: 4.668%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
Dependencies
- github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc
- github.com/stretchr/testify v1.3.0
- github.com/boombuler/barcode v1.0.0
- github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc
- github.com/davecgh/go-spew v1.1.0
- github.com/pmezard/go-difflib v1.0.0
- github.com/stretchr/objx v0.1.0
- github.com/stretchr/testify v1.3.0