Code Monkey home page Code Monkey logo

ykneo-oath-lowprofile's People

Watchers

 avatar  avatar

ykneo-oath-lowprofile's Issues

Figure out why the test cases were failing

Both TOTP and HOTP on card seems to work well. Seems that HOTP cases are failing and the applet refuses to send anything (byte size of 2). Identify why and fix them.

(Seems that it returns 6f00. Is there an exception somewhere? Can't rule out the possibility of emulator bugs since real card with Yubico Authenticator seems to work well.)

test:
    [junit] Testsuite: pkgYkneoOathTest.OathObjTest
    [junit] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.133 sec
    [junit] 
    [junit] Testcase: TestSha1Case1 took 0.012 sec
    [junit] Testcase: TestSha1Case2 took 0.001 sec
    [junit] Testcase: TestSha1Case3 took 0 sec
    [junit] Testcase: TestSha1Case4 took 0 sec
    [junit] Testcase: TestSha1Case5 took 0 sec
    [junit] Testcase: TestSha256Case1 took 0.001 sec
    [junit] Testcase: TestSha256Case2 took 0 sec
    [junit] Testcase: TestSha256Case3 took 0 sec
    [junit] Testcase: TestSha256Case4 took 0 sec
    [junit] Testcase: TestSha1Trunc took 0.003 sec
    [junit] Testcase: TestSha256Trunc took 0.003 sec
    [junit] Testcase: TestIncreasingDiffLen took 0 sec
    [junit] Testcase: TestHotp took 0.001 sec
    [junit] Testcase: TestCreate took 0 sec
    [junit] Testcase: TestAddSeveralAndRemove took 0 sec
    [junit] Testcase: TestIncreasing took 0 sec
    [junit] Testcase: TestDeactivate took 0 sec
    [junit] Testcase: TestHotpIMF1 took 0.001 sec
    [junit] Testcase: TestHugeHotp took 0.091 sec
    [junit] Testsuite: pkgYkneoOathTest.YkneoOathTest
    [junit] Tests run: 9, Failures: 5, Errors: 0, Skipped: 0, Time elapsed: 0.077 sec
    [junit] 
    [junit] Testcase: testBothOath took 0.021 sec
    [junit] 	FAILED
    [junit] array lengths differed, expected.length=24 actual.length=2
    [junit] junit.framework.AssertionFailedError: array lengths differed, expected.length=24 actual.length=2
    [junit] 	at pkgYkneoOathTest.YkneoOathTest.testBothOath(Unknown Source)
    [junit] 
    [junit] Testcase: testReset took 0.001 sec
    [junit] Testcase: testAuth took 0.025 sec
    [junit] Testcase: testLife took 0.001 sec
    [junit] 	FAILED
    [junit] array lengths differed, expected.length=25 actual.length=2
    [junit] junit.framework.AssertionFailedError: array lengths differed, expected.length=25 actual.length=2
    [junit] 	at pkgYkneoOathTest.YkneoOathTest.testLife(Unknown Source)
    [junit] 
    [junit] Testcase: testMoreHotpIMF took 0.001 sec
    [junit] 	FAILED
    [junit] array lengths differed, expected.length=9 actual.length=2
    [junit] junit.framework.AssertionFailedError: array lengths differed, expected.length=9 actual.length=2
    [junit] 	at pkgYkneoOathTest.YkneoOathTest.testMoreHotpIMF(Unknown Source)
    [junit] 
    [junit] Testcase: testEmptyList took 0.001 sec
    [junit] Testcase: testOverwrite took 0.001 sec
    [junit] 	FAILED
    [junit] array lengths differed, expected.length=25 actual.length=2
    [junit] junit.framework.AssertionFailedError: array lengths differed, expected.length=25 actual.length=2
    [junit] 	at pkgYkneoOathTest.YkneoOathTest.testOverwrite(Unknown Source)
    [junit] 
    [junit] Testcase: testHotpIMFOverwrite took 0.001 sec
    [junit] 	FAILED
    [junit] array lengths differed, expected.length=9 actual.length=2
    [junit] junit.framework.AssertionFailedError: array lengths differed, expected.length=9 actual.length=2
    [junit] 	at pkgYkneoOathTest.YkneoOathTest.testHotpIMFOverwrite(Unknown Source)
    [junit] 
    [junit] Testcase: testDelete took 0.001 sec
    [junit] Test pkgYkneoOathTest.YkneoOathTest FAILED

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.