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

Update errored subkey dumping with primary's keyid. #1169

Merged
merged 1 commit into from
Jun 9, 2020

Conversation

ni4
Copy link
Contributor

@ni4 ni4 commented Jun 8, 2020

This PR updates #1166. It appears that during troubleshooting it's not easy to locate primary key's id using the GnuPG/other tools.

Copy link
Contributor

@rrrooommmaaa rrrooommmaaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks almost perfect to me (except for one comment)

@@ -438,6 +438,7 @@ rnp_key_store_add_subkey(rnp_key_store_t *keyring, pgp_key_t *srckey, pgp_key_t
/* in case we already have key let's merge it in */
if (!rnp_key_store_merge_subkey(oldkey, srckey, primary)) {
RNP_LOG_KEY("failed to merge subkey %s", srckey);
RNP_LOG_KEY("primary key %s", primary);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do "primary key is %s" as in other places

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rrrooommmaaa Thanks, fixed and force-pushed.

@ni4 ni4 force-pushed the ni4-update-errored-key-dumping branch from 88721d4 to 2730040 Compare June 9, 2020 09:11
Copy link
Contributor

@rrrooommmaaa rrrooommmaaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rrrooommmaaa rrrooommmaaa merged commit b9335ce into master Jun 9, 2020
@rrrooommmaaa rrrooommmaaa deleted the ni4-update-errored-key-dumping branch June 9, 2020 17:15
@ni4 ni4 added this to the v0.14.0 milestone Jan 4, 2021
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 this pull request may close these issues.

None yet

3 participants