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

feat: w3 key create #155

Merged
merged 3 commits into from
Jan 15, 2024
Merged

feat: w3 key create #155

merged 3 commits into from
Jan 15, 2024

Conversation

olizilla
Copy link
Contributor

@olizilla olizilla commented Jan 10, 2024

Print a new key pair. Does not change your current signing key.

Bring the feature from ucan-key into w3cli

$ w3 key create
# did:key:z6Mkne1JnNWCvUgxsdo552FW8jRN78uxbpCnBmDiPmf1koYc
MgCZ5ftHm9e0FnNtFXA2sMZgcf97GO4vTaybGEfkBp/KR5+0BeZ44TKEOwUjbLqvFFs2hpFxD++IAEEL+3ySROyDsSRk=

$ w3 key create --json | jq
{
  "did": "did:key:z6Mkt7urpgJKK38cEyB1uMGBzfdn6sZN2daB5pr75DZbgahZ",
  "key": "MgCYj0pKJn5uf+4yr2DApB8idYtDY+9yhEYH64Po0uaj+R+0Byw7B8cSYrO4//5PqgWodYq8PMI/fSWZ1xdvdw15bmAw="
}

see: #154 (comment)

License: MIT

Print a new key pair. Does not change your current signing key.

Bring the feature from [`ucan-key`](https://github.com/olizilla/ucan-key) into w3cli

see: #154 (comment)

License: MIT
Signed-off-by: Oli Evans <oli@protocol.ai>
@olizilla olizilla requested review from alanshaw and Gozala January 10, 2024 16:34
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
bin.js Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
olizilla and others added 2 commits January 11, 2024 11:36
Co-authored-by: Alan Shaw <alan.shaw@protocol.ai>
License: MIT
Signed-off-by: Oli Evans <oli@protocol.ai>
@olizilla
Copy link
Contributor Author

I bow deeply in apology for the prettier noise. tis an obnoxious and persistent bot, and I let my guard down. As the harm is now done, I leave it in this PR so others do not suffer the same semantically-meaningless, unrelated change fate.

@olizilla olizilla requested a review from alanshaw January 12, 2024 14:45
@alanshaw
Copy link
Member

I merge this so I can do some other readme cleanup.

@alanshaw alanshaw merged commit 1fe7adb into main Jan 15, 2024
1 check passed
@alanshaw alanshaw deleted the keygen branch January 15, 2024 15:12
alanshaw pushed a commit that referenced this pull request Jan 15, 2024
🤖 I have created a release *beep* *boop*
---


##
[7.1.0](v7.0.4...v7.1.0)
(2024-01-15)


### Features

* `w3 key create`
([#155](#155))
([1fe7adb](1fe7adb))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Alan Shaw <alan.shaw@protocol.ai>
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