
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
aerogear-cordova-otp
Advanced tools
Cordova plugin for OTP depends on BarcodeScanner to be able to easly obtain the secret
Project Info | |
---|---|
License: | Apache License, Version 2.0 |
Build: | Cordova Plugin |
Documentation: | https://aerogear.org/docs/specs/aerogear-cordova/ |
Issue tracker: | https://issues.jboss.org/browse/AGCORDOVA |
Mailing lists: | aerogear-users (subscribe) |
aerogear-dev (subscribe) |
cordova create <project-name>
cd <project-name>
cordova platform add android
cordova plugin add <location-of-this-plugin>
cordova build
Copy example/*
into the www
folder of your project and press the OTP button. Initially it will fire up the
BarcodeScanner to scan a QR code with an url like otpauth://totp/username?secret=7SPQJZ7CDF7NTKJ2
this secret will be
stored and then later used to generate One Time Passwords have a look at the guide
Try it on this demo page username is john
and password 123
var totp = new AeroGear.Totp();
totp.generate(function(result) { /* result is the otp */ );
or seperate methods
String secret = "B2374TNIQ3HKC446";
// initialize OTP
var generator = new AeroGear.Totp(secret);
// generate token
generator.generateOTP(function(result) { /* result is the otp */ });
For more details about the current release, please consult our documentation.
If you would like to help develop AeroGear you can join our developer's mailing list, join #aerogear on Freenode, or shout at us on Twitter @aerogears.
Also takes some time and skim the contributor guide
Join our user mailing list for any questions or help! We really hope you enjoy app development with AeroGear!
If you found a bug please create a ticket for us on Jira with some steps to reproduce it.
FAQs
Generates a one time password
The npm package aerogear-cordova-otp receives a total of 1 weekly downloads. As such, aerogear-cordova-otp popularity was classified as not popular.
We found that aerogear-cordova-otp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.