Code Monkey home page Code Monkey logo

jotp's People

Contributors

amdelamar avatar djcass44 avatar kamranzafar avatar mattnidz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jotp's Issues

Travis builds can be faster

Skip the install step like so:

before_install:
 - chmod +x gradlew

install: echo "skipping install step"

script:
 - "./gradlew check"

The default install step runs gradle assemble. So doing that AND gradle check isn't really useful when tasks are being repeated on every build.

Version badges

Bintray
Javadoc

[![Bintray](https://img.shields.io/bintray/v/amdelamar/mvn/jotp)](https://bintray.com/amdelamar/mvn/jotp/_latestVersion)

[![Javadoc](https://www.javadoc.io/badge/com.amdelamar/jotp.svg)](https://www.javadoc.io/doc/com.amdelamar/jotp)

Rename package to com.amdelamar

Currently com.github.amdelamar does not match the actual package com.amdelamar used.
This should be updated so it can be published to maven central.

Add to bintray jcenter

First you'll need to generate a pom.xml

Then update maven/gradle instructions:

Gradle:

repositories {  
   jcenter()  
}

Maven:

<repositories>
    <repository>
        <id>bintray</id>
        <url>http://jcenter.bintray.com</url>
    </repository>
</repositories>

Time-based tests sometimes fail

com.amdelamar.jotp.type.TOTPTest > totpTests FAILED
    org.junit.ComparisonFailure at TOTPTest.java:50

Most likely because the test triggered late within the 30 second window.

Base32 secret should be uppercased

// this generated code
OTP.create("MFRGGZDFMZTWQ2LK", OTP.timeInHex(), 6, Type.TOTP)

// does not equal this code
OTP.create("mfrggzdfmztwq2lk", OTP.timeInHex(), 6, Type.TOTP)

Secret should always be uppercased.

Fix javadocs

See all the issues by running:

./gradlew javadoc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.