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

Fix: assert stationId at 88 bytes instead of 64 #257

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

PatrickNercessian
Copy link
Contributor

@PatrickNercessian PatrickNercessian commented Apr 25, 2024

Follow up for #249

@PatrickNercessian
Copy link
Contributor Author

Link: space-meridian/roadmap#97

Copy link
Member

@bajtos bajtos left a comment

Choose a reason for hiding this comment

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

👌🏻

@bajtos bajtos merged commit 738ce19 into filecoin-station:main Apr 25, 2024
8 checks passed
@bajtos
Copy link
Member

bajtos commented Apr 25, 2024

This change is because an ED25519 public key exported in the SPKI format always has 44 bytes, which is 88 characters in hexadecimal encoding. (The SPKI format starts with a 6-byte prefix identifying the algorithm used.)

See also:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ done
Development

Successfully merging this pull request may close these issues.

2 participants