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

refactor(keychain): drop unused getPrivateHDKey "exportPrivate" param #140

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

marcoskichel
Copy link
Contributor

@marcoskichel marcoskichel commented Sep 13, 2024

Description

As noticed by @633kh4ck in this comment, the exportPrivate parameter is unused by getPrivateHDKey, so not really necessary.

The presence of this parameter also gives a false sense of security as devs looking at the current usage, since we don't have type validations when consuming that method, might assume that omitting that flag would avoid the private keys from being returned, which is not the case.

@marcoskichel marcoskichel self-assigned this Sep 13, 2024
@marcoskichel marcoskichel changed the title refactor(keychain): drop unused parameter refactor(keychain): drop unused getPrivateHDKey "exportPrivate" param Sep 13, 2024
Copy link
Collaborator

@mvayngrib mvayngrib left a comment

Choose a reason for hiding this comment

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

utACK

@marcoskichel marcoskichel merged commit 6762be9 into master Sep 13, 2024
9 checks passed
@marcoskichel marcoskichel deleted the kichelm/keychain/refactor-export-private-flag branch September 13, 2024 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants