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

crypto/keyring: fix offline keys migration #8738

Merged
merged 4 commits into from
Mar 2, 2021

Conversation

alessio
Copy link
Contributor

@alessio alessio commented Mar 1, 2021

From: #8639

Fix keys migrate command (closes: #8703)

crypto/keyring: reinstate the InfoImporter interface

LegacyInfoImporter is implemented by those Keyring implementations
that support import of Info objects.

Co-authored-by: Alessio Treglia [email protected]
Co-authored-by: Jonathan Gimeno [email protected]
Co-authored-by: Amaury [email protected]


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

Fix `keys migrate` command (#8703)

crypto/keyring: reinstate the InfoImporter interface

InfoImporter is implemented by those Keyring implementations
that support import of Info objects.

Co-authored-by: Alessio Treglia <[email protected]>
Co-authored-by: Jonathan Gimeno <[email protected]>
Co-authored-by: Amaury <[email protected]>
Alessio Treglia added 2 commits March 1, 2021 19:32
Avoid namespace clash with the InfoImporter interface
that already exists in the v0.41 release series.
@alessio alessio added this to the v0.41.4 milestone Mar 2, 2021
@codecov
Copy link

codecov bot commented Mar 2, 2021

Codecov Report

Merging #8738 (afff29a) into release/v0.41.x (ee90640) will increase coverage by 0.01%.
The diff coverage is 68.42%.

Impacted file tree graph

@@                 Coverage Diff                 @@
##           release/v0.41.x    #8738      +/-   ##
===================================================
+ Coverage            61.93%   61.95%   +0.01%     
===================================================
  Files                  612      612              
  Lines                35412    35417       +5     
===================================================
+ Hits                 21932    21942      +10     
+ Misses               11168    11155      -13     
- Partials              2312     2320       +8     
Impacted Files Coverage Δ
crypto/keyring/keyring.go 60.66% <0.00%> (-0.56%) ⬇️
client/keys/migrate.go 56.33% <81.25%> (+12.85%) ⬆️

Copy link
Contributor

@amaury1093 amaury1093 left a comment

Choose a reason for hiding this comment

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

thanks @alessio for not forgetting this PR!

@alessio alessio merged commit ba3ac53 into release/v0.41.x Mar 2, 2021
@alessio alessio deleted the 0414-backport-8639 branch March 2, 2021 09:26
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.

5 participants