Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
OpenPGP Key Support
Note: this is currently a draft PR, will be updated as progress and decisions are made.
Overview
I would like to implement OpenPGP key storage and related encryption features into FreeIPA. Started from Pagure Issue 9592.
Short feature list:
Use Cases
Walk through one or more full examples of how the feature will be used. These should not all be the simplest cases.
How to Use
This a starting point for design discussions.
Easy to follow instructions how to use the new feature according to the use cases described above. FreeIPA user needs to be able to follow the steps and demonstrate the new features.
The chapter may be divided in sub-sections per Use Case.
Design
This feature would require the following additions to LDAP schema.
Implementation
This addition would not require any new dependencies or any new files in Backup and Restore.
Feature Management
UI
Add option under "Actions" dropdown for the entry of PGP keys and related information.
CLI
Note: This is not yet an extensive list and will be updated to reflect the most current proposal.
Configuration
Since storing private keys requires the use of vaults, KRA must be setup in order to store private keys, which is an optional feature.
Test plan
Test scenarios that will be transformed to test cases for FreeIPA Continuous Integration during implementation or review phase. This can be also link to source in pagure with the test, if appropriate.
Troubleshooting and debugging
The feature creates LDAP entries to store OpenPGP public keys and information about them, and relies upon them to fetch that same information on request.