graphene icon indicating copy to clipboard operation
graphene copied to clipboard

Unable to run tests on some tokens with graphene-cli

Open rmhrisk opened this issue 7 years ago • 5 comments

I have a SafeNet 5100, I am able to enumerate the supported algorithms with grapgene-cli but I am not able to successfully execute the batch perf tests.

For example, here is a subset of capabilities:

Algorithm name h s v e d w u g D
RSA_PKCS_KEY_PAIR_GEN x
RSA_PKCS x x x x x x

If I run:

> test gen --alg RSA_PKCS_KEY_PAIR_GEN  --it 2

Error: No such algorithm

I think this is impacting our document signing cases with this token.

It also seems we are seeing something similar with a NitroKey https://github.com/PeculiarVentures/graphene/pull/83

rmhrisk avatar Sep 23 '17 18:09 rmhrisk

A new mechanism was recently added in a PR, the test failure in CI has no relation to this issue here it seems. Hopefully, https://github.com/PeculiarVentures/graphene/commit/51ff1b7c4c0fadbaec1cba2f123f550757029d97 will fix it.

rmhrisk avatar Sep 23 '17 20:09 rmhrisk

There is a new change in the graphene-cli and it should make this work, see - https://github.com/PeculiarVentures/graphene-cli/issues/5

We will need to update the capabilities documents for each document.

rmhrisk avatar Sep 26 '17 21:09 rmhrisk

@jspark311 can you see if this fixes your issue with the NitroKey?

rmhrisk avatar Sep 26 '17 21:09 rmhrisk

@nickrmc83 would you be able to re-run the Thales capabilities?

rmhrisk avatar Sep 26 '17 21:09 rmhrisk

I'll try and take a look tomorrow.

Nick

On 26 Sep 2017 10:56 pm, "Ryan Hurst" [email protected] wrote:

@nickrmc83 https://github.com/nickrmc83 would you be able to re-run the Thales capabilities?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PeculiarVentures/graphene/issues/85#issuecomment-332347904, or mute the thread https://github.com/notifications/unsubscribe-auth/ABhXUPh-5MqdL7Qoep9kP3tkHnZNEDgSks5smXL7gaJpZM4Pho-B .

nickrmc83 avatar Sep 27 '17 16:09 nickrmc83