Add reverse file with otpauth://... URLs to migration QR codes#39
Open
idachev wants to merge 7 commits into
Open
Add reverse file with otpauth://... URLs to migration QR codes#39idachev wants to merge 7 commits into
idachev wants to merge 7 commits into
Conversation
- Fix error handling for binary.Write in evaluate.go - Add error handling for w.Write in handler.go - Replace if condition with strings.TrimPrefix in otpauth.go - Add golangci-lint command to CLAUDE.md 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Owner
|
Thank you for your contribution. However I'm not able to accept it as-is and will need to rework it from ground up first. The quality of AI generated code (here in particular) is on pair with 5-years-old writing his first Basic program. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Recently, I made a stupid mistake by exporting my Google Authenticator QR codes, but I was quick and did not read the last screen, which was to remove all OTPs from the app.
I lost the exported screens but fortunately have backups of my otpauth URLs from Linux OTPClient.
So what I add with this pull request is to grab a file exported from OTPClient, which li list of
otpauth://...URLs and makeotpauth-migration...QR images so I can back import these in my Google Authenticator.Know that this code was generated and enhanced with
claude codeas I have 25 years of software experience but never touched the go language world until now :)