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 support for the new secret from_bytes extension. #283

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

acw
Copy link
Contributor

@acw acw commented Jul 11, 2023

No description provided.

@acw acw requested a review from JakeChampion July 11, 2023 20:55
Comment on lines +24 to +28

// FIXME: uncomment this when we release this API more fully
//let hello_bytes = "hello, wasm_world!".as_bytes().to_vec();
//let secret = Secret::from_bytes(hello_bytes).unwrap();
//assert_eq!("hello, wasm_world!", secret.plaintext());
Copy link
Contributor

Choose a reason for hiding this comment

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

Time to FIXME?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As soon as the 0.9.5 release goes out, I'll update it 😄

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, we have ourselves a circular dependency here, don't we

Copy link
Contributor Author

Choose a reason for hiding this comment

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

:(

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, we can either merge this as is, with a commented-out test case (I can say, I ran it manually and it worked), or we can merge a broken test case and have the SDK release fix it. I think I'd lean towards the former, and then update Viceroy afterwards.

@JakeChampion JakeChampion merged commit cd36fee into main Jul 12, 2023
@JakeChampion JakeChampion deleted the awick/secret_from_bytes branch July 12, 2023 09:27
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