Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not encrypted failing #8

Open
gedw99 opened this issue Nov 26, 2024 · 1 comment
Open

not encrypted failing #8

gedw99 opened this issue Nov 26, 2024 · 1 comment

Comments

@gedw99
Copy link

gedw99 commented Nov 26, 2024

        # not encrypted
	passgen -c any-secret -o data.png -s 1024
	# fails !!! It thinks its encrypted.
	passgen -d data.png

	@echo ""
	@echo ""

	# encrypted with password
	passgen -e "any secret" -p pass123 -o data_enc.png -s 1024
	passgen -d data_enc.png -p pass123
@0xEtherPunk
Copy link
Owner

0xEtherPunk commented Nov 27, 2024

        # not encrypted
	passgen -c any-secret -o data.png -s 1024
	# fails !!! It thinks its encrypted.
	passgen -d data.png

	@echo ""
	@echo ""

	# encrypted with password
	passgen -e "any secret" -p pass123 -o data_enc.png -s 1024
	passgen -d data_enc.png -p pass123

You see an error when using the -d flag after the -c flag because the -d flag is only used for decrypting encrypted information with the -e flag.

In other words, -d is not intended for reading unencrypted QR codes. The -c flag creates a QR code with custom text but does not make it encrypted.

In next updates, I will add a new -r flag for reading unencrypted QR codes. Let me know if you need any further assistance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants