Skip to content

Commit

Permalink
Merge pull request #1741 from ripienaar/0_26_0
Browse files Browse the repository at this point in the history
(misc) Release 0.26.0
  • Loading branch information
ripienaar authored Jun 23, 2022
2 parents 5019362 + 15fc8a4 commit 6b440d8
Show file tree
Hide file tree
Showing 60 changed files with 705 additions and 651 deletions.
1,008 changes: 508 additions & 500 deletions CHANGELOG.md

Large diffs are not rendered by default.

125 changes: 58 additions & 67 deletions CONFIGURATION.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

// Version the application version
var Version = "0.25.1"
var Version = "0.26.0"

// SHA is the git reference used to build this package
var SHA = "unknown"
Expand Down
2 changes: 1 addition & 1 deletion client/aaa_signerclient/action_sign.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// generated code; DO NOT EDIT
//
// Client for Choria RPC Agent 'aaa_signer' Version 0.25.1 generated using Choria version 0.25.1
// Client for Choria RPC Agent 'aaa_signer' Version 0.26.0 generated using Choria version 0.26.0

package aaa_signerclient

Expand Down
2 changes: 1 addition & 1 deletion client/aaa_signerclient/ddl.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"$schema":"https://choria.io/schemas/mcorpc/ddl/v1/agent.json","metadata":{"license":"Apache-2.0","author":"R.I.Pienaar \u003c[email protected]\u003e","timeout":10,"name":"aaa_signer","version":"0.25.1","url":"https://github.com/choria-io/aaasvc","description":"Request Signer for Choria AAA Service","provider":"golang","service":true},"actions":[{"action":"sign","input":{"request":{"prompt":"RPC Request","description":"The request to sign","type":"string","optional":false,"validation":"shellsafe","maxlength":100240},"token":{"prompt":"JWT Token","description":"The JWT token authenticating the user","type":"string","optional":false,"validation":".","maxlength":10024}},"output":{"secure_request":{"description":"The signed Secure Request","display_as":"Secure Request","type":"string"}},"display":"always","description":"Signs a RPC Request on behalf of a user"}]}
{"$schema":"https://choria.io/schemas/mcorpc/ddl/v1/agent.json","metadata":{"license":"Apache-2.0","author":"R.I.Pienaar \u003c[email protected]\u003e","timeout":10,"name":"aaa_signer","version":"0.26.0","url":"https://github.com/choria-io/aaasvc","description":"Request Signer for Choria AAA Service","provider":"golang","service":true},"actions":[{"action":"sign","input":{"request":{"prompt":"RPC Request","description":"The request to sign","type":"string","optional":false,"validation":"shellsafe","maxlength":100240},"token":{"prompt":"JWT Token","description":"The JWT token authenticating the user","type":"string","optional":false,"validation":".","maxlength":10024}},"output":{"secure_request":{"description":"The signed Secure Request","display_as":"Secure Request","type":"string"}},"display":"always","description":"Signs a RPC Request on behalf of a user"}]}
4 changes: 2 additions & 2 deletions client/aaa_signerclient/doc.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// generated code; DO NOT EDIT
//
// Client for Choria RPC Agent 'aaa_signer' Version 0.25.1 generated using Choria version 0.25.1
// Client for Choria RPC Agent 'aaa_signer' Version 0.26.0 generated using Choria version 0.26.0

// Package aaa_signerclient is an API client to the Choria Aaa_signer agent Version 0.25.1.
// Package aaa_signerclient is an API client to the Choria Aaa_signer agent Version 0.26.0.
//
// Actions:
// * Sign - Signs a RPC Request on behalf of a user
Expand Down
2 changes: 1 addition & 1 deletion client/choria_provisionclient/action_configure.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// generated code; DO NOT EDIT
//
// Client for Choria RPC Agent 'choria_provision' Version 0.25.1 generated using Choria version 0.25.1
// Client for Choria RPC Agent 'choria_provision' Version 0.26.0 generated using Choria version 0.26.0

package choria_provisionclient

Expand Down
2 changes: 1 addition & 1 deletion client/choria_provisionclient/action_gen25519.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// generated code; DO NOT EDIT
//
// Client for Choria RPC Agent 'choria_provision' Version 0.25.1 generated using Choria version 0.25.1
// Client for Choria RPC Agent 'choria_provision' Version 0.26.0 generated using Choria version 0.26.0

package choria_provisionclient

Expand Down
2 changes: 1 addition & 1 deletion client/choria_provisionclient/action_gencsr.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// generated code; DO NOT EDIT
//
// Client for Choria RPC Agent 'choria_provision' Version 0.25.1 generated using Choria version 0.25.1
// Client for Choria RPC Agent 'choria_provision' Version 0.26.0 generated using Choria version 0.26.0

package choria_provisionclient

Expand Down
2 changes: 1 addition & 1 deletion client/choria_provisionclient/action_jwt.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// generated code; DO NOT EDIT
//
// Client for Choria RPC Agent 'choria_provision' Version 0.25.1 generated using Choria version 0.25.1
// Client for Choria RPC Agent 'choria_provision' Version 0.26.0 generated using Choria version 0.26.0

package choria_provisionclient

Expand Down
2 changes: 1 addition & 1 deletion client/choria_provisionclient/action_reprovision.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// generated code; DO NOT EDIT
//
// Client for Choria RPC Agent 'choria_provision' Version 0.25.1 generated using Choria version 0.25.1
// Client for Choria RPC Agent 'choria_provision' Version 0.26.0 generated using Choria version 0.26.0

package choria_provisionclient

Expand Down
2 changes: 1 addition & 1 deletion client/choria_provisionclient/action_restart.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// generated code; DO NOT EDIT
//
// Client for Choria RPC Agent 'choria_provision' Version 0.25.1 generated using Choria version 0.25.1
// Client for Choria RPC Agent 'choria_provision' Version 0.26.0 generated using Choria version 0.26.0

package choria_provisionclient

Expand Down
2 changes: 1 addition & 1 deletion client/choria_provisionclient/ddl.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"$schema":"https://choria.io/schemas/mcorpc/ddl/v1/agent.json","metadata":{"name":"choria_provision","description":"Choria Provisioner","author":"R.I.Pienaar <[email protected]>","license":"Apache-2.0","version":"0.25.1","url":"https://choria.io","timeout":20},"actions":[{"action":"configure","input":{"token":{"prompt":"Token","description":"Authentication token to pass to the server","type":"string","default":"","optional":true,"validation":".","maxlength":128},"config":{"prompt":"Configuration","description":"The configuration to apply to this node","type":"string","default":null,"optional":false,"validation":"^{.+}$","maxlength":2048},"certificate":{"prompt":"Certificate","description":"PEM text block for the certificate","type":"string","default":null,"optional":true,"validation":"^-----BEGIN CERTIFICATE-----","maxlength":10240},"ca":{"prompt":"CA Bundle","description":"PEM text block for the CA","type":"string","default":null,"optional":true,"validation":"^-----BEGIN CERTIFICATE-----","maxlength":20480},"ssldir":{"prompt":"SSL Dir","description":"Directory for storing the certificate in","type":"string","default":null,"optional":true,"validation":".","maxlength":500},"key":{"description":"A RSA private key","prompt":"PEM text block for the private key","type":"string","default":null,"optional":true,"validation":"-----BEGIN RSA PRIVATE KEY-----","maxlength":10240},"ecdh_public":{"prompt":"ECDH Public Key","description":"Required when sending a private key","type":"string","default":"","optional":true,"maxlength":64,"validation":"."},"action_policies":{"prompt":"Action Policy Documents","description":"Map of Action Policy documents indexed by file name","type":"hash","default":{},"optional":true},"opa_policies":{"prompt":"Open Policy Agent Policy Documents","description":"Map of Open Policy Agent Policy documents indexed by file name","type":"hash","default":{},"optional":true},"server_jwt":{"description":"JWT file used to identify the server to the broker for ed25519 based authentication","prompt":"Server JWT","type":"string","default":"","optional":true,"maxlength":2048,"validation":"."}},"output":{"message":{"description":"Status message from the Provisioner","display_as":"Message","type":"string","default":null}},"display":"failed","description":"Configure the Choria Server"},{"action":"gen25519","display":"always","description":"Generates a new ED25519 keypair","input":{"token":{"prompt":"Token","description":"Authentication token to pass to the server","type":"string","default":"","optional":false,"validation":".","maxlength":128},"nonce":{"prompt":"Nonce","description":"Single use token to be signed by the private key being generated","type":"string","default":"","optional":false,"validation":".","maxlength":64}},"output":{"public_key":{"description":"The ED255519 public key hex encoded","display_as":"Public Key","type":"string","default":""},"directory":{"description":"The directory where server.key and server.pub is written to","display_as":"Directory","type":"string","default":""},"signature":{"description":"The signature of the nonce made using the new private key, hex encoded","display_as":"Signature","type":"string","default":""}}},{"action":"gencsr","input":{"token":{"prompt":"Token","description":"Authentication token to pass to the server","type":"string","default":"","optional":false,"validation":".","maxlength":128},"cn":{"prompt":"Common Name","description":"The certificate Common Name to place in the CSR","type":"string","default":null,"optional":true,"validation":"^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]).)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$","maxlength":80},"C":{"prompt":"Country","description":"Country Code","type":"string","default":null,"optional":true,"validation":"^[A-Z]{2}$","maxlength":2},"L":{"prompt":"Locality","description":"Locality or municipality (such as city or town name)","type":"string","default":null,"optional":true,"validation":"^[\\w\\s-]+$","maxlength":50},"O":{"prompt":"Organization","description":"Organization","type":"string","default":null,"optional":true,"validation":"^[\\w\\s-]+$","maxlength":50},"OU":{"prompt":"Organizational Unit","description":"Organizational Unit","type":"string","default":null,"optional":true,"validation":"^[\\w\\s-]+$","maxlength":50},"ST":{"prompt":"State","description":"State","type":"string","default":null,"optional":true,"validation":"^[\\w\\s-]+$","maxlength":50}},"output":{"csr":{"description":"PEM text block for the CSR","display_as":"CSR","type":"string","default":null},"public_key":{"description":"PEM text block of the public key that made the CSR","display_as":"Public Key","type":"string","default":null},"ssldir":{"description":"SSL directory as determined by the server","display_as":"SSL Dir","type":"string","default":null}},"display":"always","description":"Request a CSR from the Choria Server"},{"action":"jwt","input":{"token":{"prompt":"Token","description":"Authentication token to pass to the server","type":"string","default":"","optional":false,"validation":".","maxlength":128}},"output":{"jwt":{"description":"The contents of the JWT token","display_as":"JWT Token","type":"string","default":""},"ecdh_public":{"description":"The ECDH public key for calculating shared secrets","display_as":"ECDH Public Key","type":"string","default":""}},"display":"always","description":"Re-enable provision mode in a running Choria Server"},{"action":"reprovision","input":{"token":{"prompt":"Token","description":"Authentication token to pass to the server","type":"string","default":"","optional":false,"validation":".","maxlength":128}},"output":{"message":{"description":"Status message from the Provisioner","display_as":"Message","type":"string","default":null}},"display":"always","description":"Reenable provision mode in a running Choria Server"},{"action":"restart","input":{"token":{"prompt":"Token","description":"Authentication token to pass to the server","type":"string","default":"","optional":false,"validation":".","maxlength":128},"splay":{"prompt":"Splay time","description":"The configuration to apply to this node","type":"number","default":null,"optional":true}},"output":{"message":{"description":"Status message from the Provisioner","display_as":"Message","type":"string","default":null}},"display":"failed","description":"Restart the Choria Server"}]}
{"$schema":"https://choria.io/schemas/mcorpc/ddl/v1/agent.json","metadata":{"name":"choria_provision","description":"Choria Provisioner","author":"R.I.Pienaar <[email protected]>","license":"Apache-2.0","version":"0.26.0","url":"https://choria.io","timeout":20},"actions":[{"action":"configure","input":{"token":{"prompt":"Token","description":"Authentication token to pass to the server","type":"string","default":"","optional":true,"validation":".","maxlength":128},"config":{"prompt":"Configuration","description":"The configuration to apply to this node","type":"string","default":null,"optional":false,"validation":"^{.+}$","maxlength":2048},"certificate":{"prompt":"Certificate","description":"PEM text block for the certificate","type":"string","default":null,"optional":true,"validation":"^-----BEGIN CERTIFICATE-----","maxlength":10240},"ca":{"prompt":"CA Bundle","description":"PEM text block for the CA","type":"string","default":null,"optional":true,"validation":"^-----BEGIN CERTIFICATE-----","maxlength":20480},"ssldir":{"prompt":"SSL Dir","description":"Directory for storing the certificate in","type":"string","default":null,"optional":true,"validation":".","maxlength":500},"key":{"description":"A RSA private key","prompt":"PEM text block for the private key","type":"string","default":null,"optional":true,"validation":"-----BEGIN RSA PRIVATE KEY-----","maxlength":10240},"ecdh_public":{"prompt":"ECDH Public Key","description":"Required when sending a private key","type":"string","default":"","optional":true,"maxlength":64,"validation":"."},"action_policies":{"prompt":"Action Policy Documents","description":"Map of Action Policy documents indexed by file name","type":"hash","default":{},"optional":true},"opa_policies":{"prompt":"Open Policy Agent Policy Documents","description":"Map of Open Policy Agent Policy documents indexed by file name","type":"hash","default":{},"optional":true},"server_jwt":{"description":"JWT file used to identify the server to the broker for ed25519 based authentication","prompt":"Server JWT","type":"string","default":"","optional":true,"maxlength":2048,"validation":"."}},"output":{"message":{"description":"Status message from the Provisioner","display_as":"Message","type":"string","default":null}},"display":"failed","description":"Configure the Choria Server"},{"action":"gen25519","display":"always","description":"Generates a new ED25519 keypair","input":{"token":{"prompt":"Token","description":"Authentication token to pass to the server","type":"string","default":"","optional":false,"validation":".","maxlength":128},"nonce":{"prompt":"Nonce","description":"Single use token to be signed by the private key being generated","type":"string","default":"","optional":false,"validation":".","maxlength":64}},"output":{"public_key":{"description":"The ED255519 public key hex encoded","display_as":"Public Key","type":"string","default":""},"directory":{"description":"The directory where server.key and server.pub is written to","display_as":"Directory","type":"string","default":""},"signature":{"description":"The signature of the nonce made using the new private key, hex encoded","display_as":"Signature","type":"string","default":""}}},{"action":"gencsr","input":{"token":{"prompt":"Token","description":"Authentication token to pass to the server","type":"string","default":"","optional":false,"validation":".","maxlength":128},"cn":{"prompt":"Common Name","description":"The certificate Common Name to place in the CSR","type":"string","default":null,"optional":true,"validation":"^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]).)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$","maxlength":80},"C":{"prompt":"Country","description":"Country Code","type":"string","default":null,"optional":true,"validation":"^[A-Z]{2}$","maxlength":2},"L":{"prompt":"Locality","description":"Locality or municipality (such as city or town name)","type":"string","default":null,"optional":true,"validation":"^[\\w\\s-]+$","maxlength":50},"O":{"prompt":"Organization","description":"Organization","type":"string","default":null,"optional":true,"validation":"^[\\w\\s-]+$","maxlength":50},"OU":{"prompt":"Organizational Unit","description":"Organizational Unit","type":"string","default":null,"optional":true,"validation":"^[\\w\\s-]+$","maxlength":50},"ST":{"prompt":"State","description":"State","type":"string","default":null,"optional":true,"validation":"^[\\w\\s-]+$","maxlength":50}},"output":{"csr":{"description":"PEM text block for the CSR","display_as":"CSR","type":"string","default":null},"public_key":{"description":"PEM text block of the public key that made the CSR","display_as":"Public Key","type":"string","default":null},"ssldir":{"description":"SSL directory as determined by the server","display_as":"SSL Dir","type":"string","default":null}},"display":"always","description":"Request a CSR from the Choria Server"},{"action":"jwt","input":{"token":{"prompt":"Token","description":"Authentication token to pass to the server","type":"string","default":"","optional":false,"validation":".","maxlength":128}},"output":{"jwt":{"description":"The contents of the JWT token","display_as":"JWT Token","type":"string","default":""},"ecdh_public":{"description":"The ECDH public key for calculating shared secrets","display_as":"ECDH Public Key","type":"string","default":""}},"display":"always","description":"Re-enable provision mode in a running Choria Server"},{"action":"reprovision","input":{"token":{"prompt":"Token","description":"Authentication token to pass to the server","type":"string","default":"","optional":false,"validation":".","maxlength":128}},"output":{"message":{"description":"Status message from the Provisioner","display_as":"Message","type":"string","default":null}},"display":"always","description":"Reenable provision mode in a running Choria Server"},{"action":"restart","input":{"token":{"prompt":"Token","description":"Authentication token to pass to the server","type":"string","default":"","optional":false,"validation":".","maxlength":128},"splay":{"prompt":"Splay time","description":"The configuration to apply to this node","type":"number","default":null,"optional":true}},"output":{"message":{"description":"Status message from the Provisioner","display_as":"Message","type":"string","default":null}},"display":"failed","description":"Restart the Choria Server"}]}
4 changes: 2 additions & 2 deletions client/choria_provisionclient/doc.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// generated code; DO NOT EDIT
//
// Client for Choria RPC Agent 'choria_provision' Version 0.25.1 generated using Choria version 0.25.1
// Client for Choria RPC Agent 'choria_provision' Version 0.26.0 generated using Choria version 0.26.0

// Package choria_provisionclient is an API client to the Choria Choria_provision agent Version 0.25.1.
// Package choria_provisionclient is an API client to the Choria Choria_provision agent Version 0.26.0.
//
// Actions:
// * Configure - Configure the Choria Server
Expand Down
2 changes: 1 addition & 1 deletion client/choria_registryclient/action_ddl.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// generated code; DO NOT EDIT
//
// Client for Choria RPC Agent 'choria_registry' Version 0.25.1 generated using Choria version 0.25.1
// Client for Choria RPC Agent 'choria_registry' Version 0.26.0 generated using Choria version 0.26.0

package choria_registryclient

Expand Down
2 changes: 1 addition & 1 deletion client/choria_registryclient/action_names.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// generated code; DO NOT EDIT
//
// Client for Choria RPC Agent 'choria_registry' Version 0.25.1 generated using Choria version 0.25.1
// Client for Choria RPC Agent 'choria_registry' Version 0.26.0 generated using Choria version 0.26.0

package choria_registryclient

Expand Down
Loading

0 comments on commit 6b440d8

Please sign in to comment.