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

fix!: load self key into keychain on startup if not present #1357

Merged
merged 1 commit into from
Aug 17, 2022

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented Aug 17, 2022

To prevent triggering keychain attack prevention on startup, refactor the KeyChain class to load the current PeerId as the 'self' key on startup.

Fixes #1315

BREAKING CHANGE: the loadKeychain method has been removed as it is no longer necessary

To prevent triggering keychain attack prevention on startup, load
the current PeerId as the `'self'` key on startup.

Fixes #1315

BREAKING CHANGE: the `loadKeychain` method has been removed as it's no longer necessary
Copy link
Member

@wemeetagain wemeetagain left a comment

Choose a reason for hiding this comment

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

lgtm

@achingbrain achingbrain merged commit 1f38ab7 into master Aug 17, 2022
@achingbrain achingbrain deleted the fix/load-self-key-on-startup branch August 17, 2022 20:34
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.

2 participants