johnnymongiat / oath Goto Github PK
View Code? Open in Web Editor NEWA Java-based OATH toolkit providing components for building one-time password authentication systems.
License: MIT License
A Java-based OATH toolkit providing components for building one-time password authentication systems.
License: MIT License
there's no algorithm field in uri
Hi, @johnnymongiat
If i give timestep as hours or days by converting to milliseconds, it was not validating properly(For example if i generate otp ar today 8 Am and it was expiring at day after tomorrow 5:30 AM (GMT time)) and also it takes the time zone calculation as well. Request you to update the code in this issue. I have used HMACSHA512 algorithm with 6 digits. Let me know if you guys have any thoughts on this @SaltOfTheFlame @gaviral
Thanks in advance.
codes doesn't match for SHA512 algorithm
Hello, I'm not able to build using mvn clean verify. Any thoughts? Stacktrace below:
uly@uly-Inspiron-3647:~/workspace/external/oath$ mvn clean verify
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] OATH Project
[INFO] OATH OTP
[INFO] OATH OTP Key Provisioning
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OATH Project 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oath-parent ---
[INFO]
[INFO] >>> maven-source-plugin:2.3:jar (attach-sources) > generate-sources @ oath-parent >>>
[INFO]
[INFO] <<< maven-source-plugin:2.3:jar (attach-sources) < generate-sources @ oath-parent <<<
[INFO]
[INFO] --- maven-source-plugin:2.3:jar (attach-sources) @ oath-parent ---
[INFO]
[INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ oath-parent ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OATH OTP 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oath-otp ---
[INFO] Deleting /home/uly/workspace/external/oath/oath-otp/target
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] OATH Project ....................................... SUCCESS [ 1.366 s]
[INFO] OATH OTP ........................................... FAILURE [ 1.099 s]
[INFO] OATH OTP Key Provisioning .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.634 s
[INFO] Finished at: 2016-12-08T13:28:18-02:00
[INFO] Final Memory: 15M/216M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project oath-otp: Failed to clean project: Failed to delete /home/uly/workspace/external/oath/oath-otp/target/test-classes/com/lochbridge/oath/otp/TestTOTPBuilder.class -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :oath-otp
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.