Skip to content

Conversation

@dignifiedquire
Copy link

No description provided.

mikelodder7 and others added 3 commits February 14, 2025 10:59
Ed448FieldBytes::clone_from_slice(&self.x.to_bytes())
todo!()
// size missmatch
// Ed448FieldBytes::from(self.x.to_bytes())
Copy link
Author

Choose a reason for hiding this comment

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

@mikelodder7 @tarcieri I found a couple of these, I am not sure if this is a bug in the original implementation, or I am missing sth in the translation

Copy link
Owner

Choose a reason for hiding this comment

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

That was me that implemented it. The trait doesn't really align with edwards curves given they store the y and not the x. This is kludgey for sure.

// };

// No idea how to make these traits happy...
// let result = pkcs8::SecretDocument::encode_msg(&private_key_info)?;
Copy link
Author

Choose a reason for hiding this comment

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

@tarcieri I have no idea how to update this for the latest pkcs8, the traits got a bit out of hand in the latest version I have a feeling

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