Git Product home page Git Product logo

Comments (3)

aveenismail avatar aveenismail commented on July 29, 2024

rsa-oaep-sha384 is a decryption algorithm, not a key algorithm. When generating an asymmetric key, the last parameter is expected to be a key algorithm. If you are trying to generate an RSA key, the only options are rsa2048, rsa3072 or rsa4096. If you want this RSA key to be used to decrypt OAEP, the way to do it is to specify that in its capabilities, which you seem to have done, but you also gave it the capability to decrypt using RSA-PKCS1v1.5. So if you want it to only be used for decrypting OAEP, remove decrypt-pkcs from the capabilities parameter

from yubihsm-shell.

mouse07410 avatar mouse07410 commented on July 29, 2024

Understood, thanks.

I wish there was an obvious delineation in the Help, defining what algorithms are for keys...

from yubihsm-shell.

aveenismail avatar aveenismail commented on July 29, 2024

While the help in the commandline can be too general sometimes, docs.yubico.com has a more detailed documentation. See this page for a list of algorithms and what they are used for: https://docs.yubico.com/hardware/yubihsm-2/hsm-2-user-guide/hsm2-core-concepts.html#algorithms. There's also this list of commands with paramter details: https://docs.yubico.com/hardware/yubihsm-2/hsm-2-user-guide/hsm2-cmd-reference.html

from yubihsm-shell.

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.