forked from cyrozap/python-vipaccess
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
0 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
17710cd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't raise an issue on a fork, so commenting here ...
First of all, thanks for adding the option to generate mobile tokens, it came in really handy!
I would like to ask you to reconsider dropping QR code support. For importing the generated token into a mobile application ( Google Authenticator, FreeOTP, etc ) this is by far the simplest way. I mucked around with the generated token a lot trying to import it into a mobile app with no luck, but using a QR code was dead easy.
I am not familiar with python, but perhaps you can make the image and qrcode dependencies optional and then add a new CLI flag ( off by default ) which shows the image?
17710cd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I'm glad it's useful for you! Switching from the "desktop" to "mobile" tokens (whatever that actually means) was just a one-line change to the source code: 912166e
I can re-add the QR code support if you like. My thinking was that users could just use a separate command-line tool like qrencode to actually convert the URL to a QR code, e.g.:
My own personal use case for Symantec VIP Access doesn't involve mobile devices at all, so I didn't realize the QR codes were widely used :-)
17710cd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had no idea about qrencode or how to pipe the URL that this tool generates to it :-)
For me it would be enough if this would be specified in the README close to the bullet point that says that qr code generation is no longer supported.