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

Add language around DID rotation; fix formatting #200

Merged
merged 6 commits into from
Apr 29, 2024
Merged

Conversation

decentralgabe
Copy link
Member

Fix #100

[](https://github.com/TBD54566975/did-dht-method/issues/100)
Add guidance for rotating to a new DID after deactivation.
:::
### Rotation
Copy link
Member Author

Choose a reason for hiding this comment

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

pertinent bit here

@@ -62,6 +62,19 @@ func (d DHT) Suffix() (string, error) {
return "", fmt.Errorf("invalid did:dht prefix: %s", d)
}

// IdentityKey returns the ed25519 public key for the DHT identifier
Copy link
Contributor

Choose a reason for hiding this comment

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

just a thought but you could link to the spec here in the doc comments https://did-dht.com/#identity-key

Copy link
Member Author

Choose a reason for hiding this comment

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

good call out

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 10 lines in your changes are missing coverage. Please review.

Project coverage is 50.49%. Comparing base (f2541b6) to head (43351ff).

Files Patch % Lines
impl/internal/did/did.go 0.00% 10 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #200      +/-   ##
==========================================
- Coverage   50.68%   50.49%   -0.19%     
==========================================
  Files          32       32              
  Lines        2703     2713      +10     
==========================================
  Hits         1370     1370              
- Misses       1194     1204      +10     
  Partials      139      139              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@decentralgabe decentralgabe merged commit 953093a into main Apr 29, 2024
9 checks passed
@decentralgabe decentralgabe deleted the issue-100 branch April 29, 2024 21:16
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.

Add guidance for rotating to a new DID
3 participants