Learn more about these different git repos.
Other Git URLs
15bb67b
@@ -282,7 +282,7 @@
_exit(CM_CERTSAVE_STATUS_INTERNAL_ERROR);
}
/* Find the tokens that we might use for cert storage. */
- mech = CKM_RSA_X_509;
+ mech = CKM_INVALID_MECHANISM;
slotlist = PK11_GetAllTokens(mech, PR_FALSE, PR_FALSE, NULL);
if (slotlist == NULL) {
cm_log(1, "Error getting list of tokens.\n");
This mechanism is raw RSA and too specific for other tokens.
Instead return all tokens and let the user determine whether it is fit for purpose.
Fixes: https://pagure.io/certmonger/issue/260
Signed-off-by: Rob Crittenden rcritten@redhat.com
rebased onto 15bb67b
Pull-Request has been merged by rcritten
This mechanism is raw RSA and too specific for other tokens.
Instead return all tokens and let the user determine whether it
is fit for purpose.
Fixes: https://pagure.io/certmonger/issue/260
Signed-off-by: Rob Crittenden rcritten@redhat.com