Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Digest #88

Open
fmorency opened this issue Mar 31, 2022 · 2 comments
Open

Digest #88

fmorency opened this issue Mar 31, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@fmorency
Copy link

Hi cryptoki!
Is it possible to perform a digest operation (ex. SHA256) on an HSM using cryptoki? I see a TODO in the code.

Is anyone actively working to implement this?
Thanks!
-F

@ionut-arm
Copy link
Member

Hi again!

No, I don't think anyone is working on anything like that right now. We try to keep all streams of work public, so if there isn't an issue, PR, or discussion open about it, it's very unlikely someone is working on it. Thank you for getting in touch to confirm, though!

I actually had a question for you, too: what platform/hardware module are you using this crate with? I'm aware that some PKCS11 implementations do things a bit differently, treat the spec a bit more loosely, so if you discover anything like that please feed it back, so we can at least document it.

@ionut-arm ionut-arm added the enhancement New feature or request label Mar 31, 2022
@fmorency
Copy link
Author

fmorency commented Apr 1, 2022

Hello Ionuț,
Thanks for the information, this is very helpful.

I am developing against SoftHSMv2 at the moment, but I will test on a Yubikey 5 NFC. Folks on my team also have Nitrokey HSM 2. I will let you know if we discover anything.

Best,
-F

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants