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

Support pgp trust levels #44

Open
danielemery opened this issue Aug 16, 2024 · 1 comment
Open

Support pgp trust levels #44

danielemery opened this issue Aug 16, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@danielemery
Copy link
Owner

danielemery commented Aug 16, 2024

PGP keys use a trust model, with levels such as Ultimate, Trusted, Untrusted etc.

If they keys project will be used as a method to store trusted keys as well your own keys, the concept of trust should be considered.

It's proposed that within the keys folder there can be optional subfolders, one for each trust level.

  • If at least one of these exist keys in the root folder will be considered Untrusted otherwise keys will be considered Ultimate
  • Keys in the subfolders will be treated with the trust level of the folder
  • The /pgp endpoint will be updated to allow a query argument for ?trust to allow filtering on trust
@danielemery danielemery added breaking Breaking change (requires major version bump) enhancement New feature or request labels Aug 16, 2024
@danielemery danielemery added this to the v2.0 milestone Aug 16, 2024
@danielemery danielemery self-assigned this Aug 16, 2024
@danielemery
Copy link
Owner Author

Since #51 there was a pivot to use the config file to mount pgp keys. This means:

  • This issue would no longer be considered a breaking change (so we will remove the v2 milestone)
  • We can simply use new optional fields in the config file to specify trust levels

@danielemery danielemery removed the breaking Breaking change (requires major version bump) label Aug 18, 2024
@danielemery danielemery removed this from the v2.0 milestone Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant