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: add ‘private_key’ alias for ‘secret_key’ field #7035

Merged
merged 2 commits into from
Jun 14, 2022

Conversation

mina86
Copy link
Contributor

@mina86 mina86 commented Jun 14, 2022

To make it easier to use credential files that near cli tool works
with, introduce ‘private_key’ alias for the ‘secret_key’ field in
KeyFile struct. This way, the JSON file can have either of those
fields set and it’ll be read correctly.

Fixes: #7030

To make it easier to use credential files that near cli tool works
with, introduce ‘private_key’ alias for the ‘secret_key’ field in
KeyFile struct.  This way, the JSON file can have either of those
fields set and it’ll be read correctly.

Fixes: near#7030
@mina86 mina86 requested a review from a team as a code owner June 14, 2022 16:16
@mina86 mina86 requested a review from jakmeier June 14, 2022 16:16
@near-bulldozer near-bulldozer bot merged commit 3832b96 into near:master Jun 14, 2022
@mina86 mina86 deleted the k branch June 14, 2022 17:54
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.

Unable to use function InMemorySigner::from_file (field names mismatch)
2 participants