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 serde support #278

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

add serde support #278

wants to merge 1 commit into from

Conversation

zefr0x
Copy link

@zefr0x zefr0x commented Jan 5, 2025

This should enable serialization and deserialization of keys and ciphers.

Closes: #137

Comment on lines -33 to +34
pulp = "^0.18.9"
pulp = { git = "https://github.com/zefr0x/pulp.git", branch = "implserde", features = ["serde"] }
Copy link
Author

@zefr0x zefr0x Jan 5, 2025

Choose a reason for hiding this comment

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

Before merging this, pulp should support serde first.

Temporary I have a fork that does it partially to make things work, but it should be upstreamed for new versions.

Also, I don't really know if pulp::Arch is important to be serialized or if it can be reconstructed from other values in the struct, is it possible to drop it?

@zefr0x
Copy link
Author

zefr0x commented Jan 5, 2025

Also, I'm not sure that every thing is covered or if something must not be serialized.

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.

Serialization of secret key
1 participant