Skip to content

Add parsing and serializing interfaces for keyrings#275

Merged
wussler merged 2 commits intomainfrom
serialize-keyring
Apr 8, 2024
Merged

Add parsing and serializing interfaces for keyrings#275
wussler merged 2 commits intomainfrom
serialize-keyring

Conversation

@wussler
Copy link
Copy Markdown
Collaborator

@wussler wussler commented Apr 4, 2024

This PR adds an API to serialize KeyRings to binary data:

func (keyRing *KeyRing) Serialize() ([]byte, error)

and an API to parse KeyRings from binary data:

func NewKeyRingFromBinary(binKeys []byte) (*KeyRing, error)

@wussler wussler force-pushed the serialize-keyring branch from b26c12f to 2c573d9 Compare April 4, 2024 13:34
Copy link
Copy Markdown
Member

@lubux lubux left a comment

Choose a reason for hiding this comment

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

LGTM

@wussler wussler merged commit 0d1ce13 into main Apr 8, 2024
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.

3 participants