-
-
Notifications
You must be signed in to change notification settings - Fork 150
signatureKey will not be decoded correctly #259
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
Comments
@tantalate this is quite strange since it used to work exactly as you describe (like here #149 (comment)). @matteosuppo any idea? |
Yes, it used to work in 1.1.71, but not working in 1.1.76. I think it might be introduced by updates of go-ini/ini package. I have tried to split the key into multiple lines and enclose it in back quotes and it worked. Thank you! |
Great! Would you mind adding an example of the config for future reference? And sorry for the regression, we'll notify third party users (OpenRoberta for example) about this. |
The signatureKey could be set like this:
|
We found a regression on this feature that has been fixed in the agent 1.7.0 The format proposed by @tantalate for the |
I am assigning signatureKey as one-line string with
\n
replacing all line breaks, but the\n
is read as\\n
in the signatureKey string, and thuspem.Decode([]byte(*signatureKey))
would failed to decode the key.How should I assign the signatureKey?
The text was updated successfully, but these errors were encountered: