Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
dominikschulz
otp
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Branch selector
master
User selector
All users
Datepicker
All time
Commit history
Commits on Jan 3, 2022
Fix typo (#67)
rojvv
authored
60112ee
View commit details
Copy full SHA for 60112ee
Browse repository at this point
Commits on Aug 17, 2021
Fix typo (#65)
Show description for 4a83670
spring1843
authored
4a83670
View commit details
Copy full SHA for 4a83670
Browse repository at this point
Commits on Nov 11, 2020
Update travis for Go 1.15 (#58)
pquerna
authored
bd63651
View commit details
Copy full SHA for bd63651
Browse repository at this point
Update otp.go (#57)
pquerna
authored
0a3fa91
View commit details
Copy full SHA for 0a3fa91
Browse repository at this point
Update README.md
pquerna
authored
98f30c2
View commit details
Copy full SHA for 98f30c2
Browse repository at this point
added power support arch ppc64le on yml file. (#56)
Show description for 993f45b
srinivas32
authored
993f45b
View commit details
Copy full SHA for 993f45b
Browse repository at this point
Commits on Jul 29, 2020
Typo correction (#54)
juunini
authored
3006c03
View commit details
Copy full SHA for 3006c03
Browse repository at this point
Commits on May 11, 2020
added demo function to example/main.go for GenerateCodeCustom (#53)
mvineetmenon
authored
d3764ec
View commit details
Copy full SHA for d3764ec
Browse repository at this point
Commits on Apr 12, 2020
Adding parsing for "period" (#49)
Show description for 2257f83
ben-rowe
authored
2257f83
View commit details
Copy full SHA for 2257f83
Browse repository at this point
Commits on Oct 9, 2019
Merge pull request #45 from Lexman42/random_by_custom_reader
Show description for 468c2dd
pquerna
authored
468c2dd
View commit details
Copy full SHA for 468c2dd
Browse repository at this point
Commits on Oct 1, 2019
adds Rand field to GenerateOpts so that a TOTP and HOTP Key can be generated by a custom io.Reader
Lexman42
committed
766957e
View commit details
Copy full SHA for 766957e
Browse repository at this point
Commits on Jun 1, 2019
Merge pull request #42 from pquerna/pq/expose_setting_secret
Show description for 43bebef
pquerna
authored
43bebef
View commit details
Copy full SHA for 43bebef
Browse repository at this point
Allow calls to {htop,totp}.Generate() to specify the secret, rather than using a randomly generated one.
Show description for ecc3285
pquerna
committed
ecc3285
View commit details
Copy full SHA for ecc3285
Browse repository at this point
Merge pull request #41 from pquerna/pq/use_no_padding
Show description for 1e101fa
pquerna
authored
1e101fa
View commit details
Copy full SHA for 1e101fa
Browse repository at this point
Use base32.NoPadding rather than mutating the standard padding off afterwards. Fixes https://github.com/pquerna/otp/issues/38
pquerna
committed
0da7463
View commit details
Copy full SHA for 0da7463
Browse repository at this point
Merge pull request #40 from pquerna/pq/go_modules
Show description for 66a1f6c
pquerna
authored
66a1f6c
View commit details
Copy full SHA for 66a1f6c
Browse repository at this point
go modules means no Go 1.11
pquerna
committed
fba8f8c
View commit details
Copy full SHA for fba8f8c
Browse repository at this point
Use Go Modules.
Show description for ef28804
pquerna
committed
ef28804
View commit details
Copy full SHA for ef28804
Browse repository at this point
Merge pull request #39 from pquerna/pq/use_modern_go
Show description for 6f676e5
pquerna
authored
6f676e5
View commit details
Copy full SHA for 6f676e5
Browse repository at this point
Upgrade travis CI to test go 1.11 and 1.12
pquerna
committed
aad24ec
View commit details
Copy full SHA for aad24ec
Browse repository at this point
Commits on Aug 13, 2018
Merge pull request #31 from champkeh/hotp-digits-check
Show description for be78767
pquerna
authored
be78767
View commit details
Copy full SHA for be78767
Browse repository at this point
Commits on Aug 12, 2018
check hotp key generation opts.Digits
champkeh
committed
7b09999
View commit details
Copy full SHA for 7b09999
Browse repository at this point
Commits on Jun 21, 2018
Merge pull request #30 from clarcharr/master
Show description for 7b7d3c7
pquerna
authored
7b7d3c7
View commit details
Copy full SHA for 7b7d3c7
Browse repository at this point
Increase default TOTP secret size to 20 bytes
Clar Charr
committed
b34af48
View commit details
Copy full SHA for b34af48
Browse repository at this point
Commits on Feb 20, 2018
Merge pull request #28 from pquerna/pq/go_1_10
Show description for 40d6240
pquerna
authored
40d6240
View commit details
Copy full SHA for 40d6240
Browse repository at this point
These are strings, not numbers. Cool story: https://github.com/travis-ci/gimme/issues/132
pquerna
committed
e3ccc4e
View commit details
Copy full SHA for e3ccc4e
Browse repository at this point
Bump travis-ci test versions to Go 1.10
pquerna
committed
5d802b7
View commit details
Copy full SHA for 5d802b7
Browse repository at this point
Add blank interop file so that go get works on older versions of go
pquerna
committed
b706ade
View commit details
Copy full SHA for b706ade
Browse repository at this point
Merge pull request #27 from pquerna/pq/two_factor_interop
Show description for ad383b1
pquerna
authored
ad383b1
View commit details
Copy full SHA for ad383b1
Browse repository at this point
Add interop test
pquerna
committed
3f6ec2e
View commit details
Copy full SHA for 3f6ec2e
Browse repository at this point
Commits on Dec 16, 2017
Merge pull request #25 from pquerna/pq/base32_dict_difference
Show description for 8439c1e
pquerna
authored
8439c1e
View commit details
Copy full SHA for 8439c1e
Browse repository at this point
When parsing a secret, change input to upper case.
Show description for 9af5514
pquerna
committed
9af5514
View commit details
Copy full SHA for 9af5514
Browse repository at this point
Commits on Sep 13, 2017
Merge pull request #23 from shawnps/update-travis
Show description for c70cbf6
pquerna
authored
c70cbf6
View commit details
Copy full SHA for c70cbf6
Browse repository at this point
Merge pull request #22 from shawnps/master
Show description for dbd4707
pquerna
authored
dbd4707
View commit details
Copy full SHA for dbd4707
Browse repository at this point
add go 1.9 to travis
shawnps
committed
a194494
View commit details
Copy full SHA for a194494
Browse repository at this point
Previous
Next
You can’t perform that action at this time.