Add SeedQR encoding and test

This commit is contained in:
thePR0M3TH3AN
2025-07-05 07:39:22 -04:00
parent afa411872b
commit d4221bcaff
3 changed files with 33 additions and 0 deletions

View File

@@ -1273,6 +1273,10 @@ class PasswordManager:
else:
print(colored("\n[+] Retrieved Seed Phrase:\n", "green"))
print(colored(phrase, "yellow"))
if confirm_action("Show SeedQR? (Y/N): "):
from password_manager.seedqr import encode_seedqr
TotpManager.print_qr_code(encode_seedqr(phrase))
if confirm_action("Show derived entropy as hex? (Y/N): "):
from local_bip85.bip85 import BIP85
from bip_utils import Bip39SeedGenerator