You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
Is your feature request related to a problem? Please describe.
I was trying to use this plugin to sign HTTP request with the REST plugin.
The API we're trying to talk to from the orchstrator needs an HTTP header signature signed with SHA256withRSA
Is your feature request related to a problem? Please describe.
I was trying to use this plugin to sign HTTP request with the REST plugin.
The API we're trying to talk to from the orchstrator needs an HTTP header signature signed with
SHA256withRSA
unfortunately the CryptoRSAService only uses a SIGNATURE_ALGORITHM of
NONEwithRSA
and is not able to create signatures with another algorithmhttps://github.com/vmware/o11n-plugin-crypto/blob/ca366a464f09ba855daef4cc3af22a98452841f6/o11nplugin-crypto-core/src/main/java/com/vmware/o11n/plugin/crypto/service/CryptoRSAService.java#L36
According to the Java documentation at least the following algorithms are standard:
It'd help me a lot, if the algorithms could be choosen as an argument on mehtods
createSignature
andverifySignature
Describe the solution you'd like
add argument
String algorithm
to methods:CryptoRSA.createSignature
CryptoRSA.verfiySignature
SIGNATURE_ALGORITHM
if no algorithm was provided-- SHA1withDSA
-- SHA256withDSA
-- SHA1withRSA
-- SHA256withRSA
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: