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
I pass in the passphrase via common.ConfigurationProviderEnvironmentVariables but the issue is that the OCI SDK uses the x509.IsEncryptedPEMBlock function to check if the PEM block is encrypted, this function assumes that the header DEK-Info is present in the file, which openssl does not set.
The documentation for generating an API Signing Key is clear that users should set a passphrase.
The documentation says to use
openssl
to generate the key. I follow the docs and generate the following:(This is key was generated purely for this issue report and never associated with anything)
I pass in the passphrase via
common.ConfigurationProviderEnvironmentVariables
but the issue is that the OCI SDK uses thex509.IsEncryptedPEMBlock
function to check if the PEM block is encrypted, this function assumes that the headerDEK-Info
is present in the file, which openssl does not set.oci-go-sdk/common/helpers.go
Lines 227 to 235 in 31d2a19
This means that users that follow the exact directions in the above docs are not able to use this SDK to interact with OCI
The text was updated successfully, but these errors were encountered: