Giter Site home page Giter Site logo

RFE: generate seeds about stoken HOT 3 CLOSED

jekader avatar jekader commented on July 26, 2024
RFE: generate seeds

from stoken.

Comments (3)

cernekee avatar cernekee commented on July 26, 2024

Early versions of stoken supported the stoken export --random syntax, which generated a plausible-looking CTF string with a random token seed. There is nothing special about the seed value itself; it is just 16 random hex bytes.

Current versions also support stoken issue --template foo.xml, which outputs a mostly-valid SDTID file with a random seed. The optional template file allows the user to customize various parameters and informational fields. This is still a bit experimental, and it is known that current versions of the RSA TokenConverter utility reject these files because they do not have a valid batch signature. However, stoken itself can still convert these into v2/v3/blocks/iPhone/QR formats through something like stoken export --file in.sdtid --iphone.

At some point it would be nice to write a PAM module or a simple RADIUS server that uses libstoken to verify user-supplied OTPs. Ideally this would also support hard tokens; it's relatively straightforward to roll out a new software token implementation (client + server) from scratch, but there are only a few sources of tamper-proof devices like SID700.

from stoken.

jekader avatar jekader commented on July 26, 2024

Wow, that was fast. Thank you for explaining this. Generated a seed successfully. I think it's worth documenting this feature and eventually someone will pick it up to create a PAM/RADIUS wrapper.

I totally agree that sending out private keys defeats the whole point of OTP as they can be intercepted/stolen. Who knows, maybe we'll once see an open hardware project that will produce actual hardware tokens :)

from stoken.

cernekee avatar cernekee commented on July 26, 2024

stoken issue probably isn't used very much, but it is documented in the man page...

Anyway, I'll go ahead and close this ticket. If you have any other questions just holler.

Thanks.

from stoken.

Related Issues (20)

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.