Skip to content
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

Policy: KAS registry URI validation is invalid #1686

Closed
jrschumacher opened this issue Oct 25, 2024 · 1 comment · Fixed by #1656
Closed

Policy: KAS registry URI validation is invalid #1686

jrschumacher opened this issue Oct 25, 2024 · 1 comment · Fixed by #1656
Assignees

Comments

@jrschumacher
Copy link
Member

KAS registry URI validation is invalid

./dsp tructl policy kas-registry create -u "https://local-dsp.virtru.com:8080/kas" -r "https://local-dsp.virtru.com:8080/kas/v2/kas_public_key"
Using profile [local]
   ERROR    Failed to create Registered KAS entry: rpc error: code = InvalidArgument desc = validation error:                                                                                                                                                 
             - public_key.remote: URI must be a valid URL (e.g., 'https://demo.com/') followed by additional segments. Each segment must start and end with an alphanumeric character, can contain hyphens, alphanumeric characters, and slashes. [uri_format]

Acceptance Criteria

  • update the validation to use buf's this.Uri()
@jrschumacher
Copy link
Member Author

This will be closed with #1656

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant