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: Expose decode_seed functionality #42

Merged

Conversation

joonas
Copy link
Member

@joonas joonas commented Jun 14, 2024

Feature or Problem

This renames and exposes pre-existing from_seed function as decode_seed to mirror the Go nkeys library's DecodeSeed functionality.

Depending on whether we would prefer to provide higher level abstractions or stick closer to the spiritual implementation of the Go library's implementation, I realize there may be preference to provide access to the underlying SigningKey, which could work just as well, it just creates the need for an unnecessary step of having to first create a KeyPair from the seed, only to then turn it into something else.

Related Issues

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

Copy link
Contributor

@thomastaylor312 thomastaylor312 left a comment

Choose a reason for hiding this comment

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

One super minor change around updating the docs for the function

src/lib.rs Outdated Show resolved Hide resolved
@joonas joonas force-pushed the feat/expose-decode_seed-functionality branch from 7e8ca24 to 43404b8 Compare June 18, 2024 00:01
@thomastaylor312 thomastaylor312 merged commit 7e52c00 into wasmCloud:main Jun 18, 2024
4 checks passed
@joonas joonas deleted the feat/expose-decode_seed-functionality branch June 19, 2024 02:57
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