Skip to content

Support u8 automatic serialization #105

Description

@HatemMn

Did you check your serialization with test_serialization ? I am pretty sure your length is not in sync with your write implementation. I wouldn't use write_vec but rather ser.write(self.permission as u8) if Serializable is implemented for u8 in cosmian_crypto_core and implement it there if it is not.

Originally posted by @tbrezot in Cosmian/kms#542 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions