-
Notifications
You must be signed in to change notification settings - Fork 42
Implement pki_enrollment_accept client part. #11464
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
base: master
Are you sure you want to change the base?
Conversation
fb5e6d3 to
b5aa7de
Compare
- load pki submit local enrollment
b5aa7de to
add5a9d
Compare
| let local_file = libparsec_platform_device_loader::get_default_local_pending_file( | ||
| &client.config().config_dir, | ||
| enrollment_id, | ||
| ); | ||
|
|
||
| let local_pending = load_pki_local_pending(local_file).await?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue (blocking): The accepter won't have access to the local pending save on the submitter filesystem.
The payload is obtain from pki_enroll_list and the value should likely be provided to the function
| } | ||
| } | ||
|
|
||
| pub async fn load_pki_local_pending( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue (blocking): We want need to load a local pending.
Instead we would list all available pending request and at that point we won't need to re-read a request on the filesystem has we would have everything we need extracted from the first step (#11524)
Fix #11360