You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote an AttributeConverter to map an EdDSAPublicKey to/from bytes, but when testing it, I found
org.springframework.orm.jpa.JpaSystemException: could not serialize; nested exception is org.hibernate.type.SerializationException: could not serialize
Caused by: java.io.NotSerializableException: net.i2p.crypto.eddsa.math.ed25519.Ed25519LittleEndianEncoding
This can easily be fixed by making Encoding serializable. Ed25519ScalarOps must also be serializable for the Hibernate converter to work, and it may be sensible to have BigIntegerScalarOps serializable as well.
The text was updated successfully, but these errors were encountered:
I wrote an AttributeConverter to map an
EdDSAPublicKey
to/from bytes, but when testing it, I foundThis can easily be fixed by making
Encoding
serializable.Ed25519ScalarOps
must also be serializable for the Hibernate converter to work, and it may be sensible to haveBigIntegerScalarOps
serializable as well.The text was updated successfully, but these errors were encountered: