harvardinformatics / JAuth

Java GUI client to generate Google authentication codes
MIT License
198 stars 50 forks source link

Cannot read secret from file passed as argument #18

Open federicoon opened 8 years ago

federicoon commented 8 years ago

I tried to launch JAuth from command line as shown in the README file:

java -jar JAuth.jar <myauthfile>

but it didn't work: a GUI opened up prompting for a PIN and no OTP was displayed. I also noticed in the AuthenticatorGUI.java source file there is a function named getSecret(), which scans the command line arguments for a file to get the secret from, yet that function is never called in the AuthenticatorGUI's code.

aaronk commented 8 years ago

Many apologies. I'll clear that up ASAP.

federicoon commented 8 years ago

Thank you! By the way, could you please update the documentation in the README file, and give some more details and examples on the new PIN feature, which was not included into older versions? Furthermore, how does the Provider thing work exactly? What's "RCFAS"? Sorry for bothering, but I could not find any information about it.

aaronk commented 8 years ago

Will do.

RCFAS is our Research Computing organization for the Faculty of Arts and Sciences.

ajk

Aaron Kitzmiller aaron.kitzmiller@gmail.com

On Jan 26, 2016, at 4:15 AM, federicoon notifications@github.com wrote:

Thank you! By the way, could you please update the documentation in the README file, and give some more details and examples on the new PIN feature, which was not included into older versions? Furthermore, how does the Provider thing work exactly? What's "RCFAS"? Sorry for bothering, but I could not find any information about it.

— Reply to this email directly or view it on GitHub https://github.com/harvardinformatics/JAuth/issues/18#issuecomment-174917069.