MacPass / MacPass/KeePassKit

Lowercase QR code algorithm breaks export to Google Authenticator / clearer labels

Open
#65 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Objective-C
Stars
135
Forks
46
PR merge metrics
No merged PRs in 30d

Description

Google Authenticator on Android rejects QR codes generated by MacPass because the algorithm isn't in capitals. The algorithm text appears to come from stringForAlgorithm in KPKOTPGenerator.m
.

Additionally it would be great if the title was included in label generated for TOTP URL so that it is easier to differentiate imported keys that share the same username...

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in KeePassKit/Cryptography/KPKOTPGenerator.m at stringForAlgorithm, then trace the TOTP URL label construction. Confirm the exported QR data uses the algorithm capitalization expected by Google Authenticator and that the generated label includes the entry title while preserving the username distinction.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c
Domain
authentication, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.