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

Abandoned? #105

Open
kamushadenes opened this issue Jul 23, 2023 · 5 comments
Open

Abandoned? #105

kamushadenes opened this issue Jul 23, 2023 · 5 comments

Comments

@kamushadenes
Copy link

kamushadenes commented Jul 23, 2023

Hello, is this package abandoned?

@Sn0rkY
Copy link

Sn0rkY commented Dec 5, 2023

Is it abandoned?
cc: @solcates @ProsaicSatsuma

@SpectralHiss
Copy link

PKCS11 latest release is from 2015 and likely not changing any time soon however there needs to be a little bit more support and love to this otherwise decent library!

For instance, I have had issues with Cloud HSM support, the library did support it at some point it seems but the subtle differences in the newest AWS backends (they moved from Cavium and the README mentions the old architecture) meant it didn't work for me.
It is a sign that there haven't been much activity / testing lately at least with AWS Cloud HSM.

@bizk
Copy link

bizk commented Feb 7, 2024

Hi @SpectralHiss I was thinking about using this library for cloudhsm, are you using any other alternative?

@SpectralHiss
Copy link

SpectralHiss commented Feb 7, 2024

Not yet decided, what i've seen is that if you use labels on certificates or keys it will write them but still give an error in the API , causing some bad times..

error: error running manager: failed to open listener: listen tcp 0.0.0.0:80: bind: permission denied; failed to initialise the signer: Coudn't generate private key and cert in HSM: Failed to generate private key in HSM pkcs11: 0x13: CKR_ATTRIBUTE_VALUE_INVALID

But they key still gets created!! so i end up with a bunch of orphaned key and crashed program :/

I haven't tried what happens if you just don't use labels as I had to shut down that testing, but it sucks they bungled this standard thing in PKCS11 on the AWS backend !
Some of the AWS limitations are covered by Mastercard's pkcs11-tools readme here:
https://github.com/Mastercard/pkcs11-tools/blob/master/README.md#july-2023
It could be that labels could still work if the API calls are initiated differently perhaps? i'd have to do more testing

If you figure out something please keep me informed.. we might try to contribute a fix if possible ? Not even sure who'd review!

@bizk
Copy link

bizk commented Feb 20, 2024

Thanks for sharing :) We could come up with a fork maybe? I'm not using it yet, I went on with github.com/miekg/pkcs11`` for now

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

No branches or pull requests

4 participants