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 was trying to perform a successful POST request but I'm getting invalid signature. It's pretty confusing on the documentation how to sign and create the hash. There is more examples somewhere?
As far i can undertand there is a private default key defined on main.go file. But I I can get the publick key on client side to sign the field?
The text was updated successfully, but these errors were encountered:
Hi @DiegoRam ,
the key defined in main.go is the public key we use to check if the commandline has been signed by us.
To modify it (and use your own key) you can simply modify config.ini (which lives in teh same directory of the agent executable) and add your own public key there.
Then, from the server, you should sign every command with your own private key (see #149 (comment) for further info)
I was trying to perform a successful POST request but I'm getting
invalid signature
. It's pretty confusing on the documentation how to sign and create the hash. There is more examples somewhere?As far i can undertand there is a private default key defined on main.go file. But I I can get the publick key on client side to sign the field?
The text was updated successfully, but these errors were encountered: