fix(key): dont allow backup key to be named 'self'#7615
Conversation
docs: update the key rotate help docs to be clearer about the backup
|
Thank you for submitting this PR!
Getting other community members to do a review would be great help too on complex PRs (you can ask in the chats/forums). If you are unsure about something, just leave us a comment.
We currently aim to provide initial feedback/triaging within two business days. Please keep an eye on any labelling actions, as these will indicate priorities and status of your contribution. |
It's currently possible to backup your Identity with the
selfname when rotating keys,ipfs key rotate -o self. This results in a secondselfkey in the keystore list. The name is now checked to avoid this.I also updated the help text to be a bit clearer. It wasn't apparent that key rotation only applied to the Identity key.