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

Replace EncryptedSerializedCredential with EncryptedData #114

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

robin-nitrokey
Copy link
Member

@robin-nitrokey robin-nitrokey commented Dec 16, 2024

Previously, EncryptedSerializedCredential was a wrapper for trussed::api::reply::Encrypt. As we whave removed the serde trait implementations for the Trussed request and reply structs, this patch replaces the EncryptedSerializedCredential struct with the new trussed_core::types::EncryptedData helper type.

See also: trussed-dev/trussed#183

@robin-nitrokey robin-nitrokey changed the title Use custom struct in EncryptedSerializedCredential Replace EncryptedSerializedCredential with EncryptedData Dec 17, 2024
@robin-nitrokey
Copy link
Member Author

Updated to use the trussed_core::types::EncryptedData helper.

Previously, EncryptedSerializedCredential was a wrapper for
trussed::api::reply::Encrypt.  As we whave removed the serde trait
implementations for the Trussed request and reply structs, this patch
replaces the EncryptedSerializedCredential struct with the new
trussed_core::types::EncryptedData helper type.

See also: trussed-dev/trussed#183
@robin-nitrokey robin-nitrokey merged commit 0ac88d4 into main Dec 19, 2024
3 checks passed
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