-
-
Notifications
You must be signed in to change notification settings - Fork 2
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 signing capabilities #8
Comments
@pkosilo, I'd like to work on it myself |
Okay 👍 |
pkasila
pushed a commit
that referenced
this issue
Jan 16, 2021
Merged
Merged
amyramos
added a commit
to amyramos/gorm-crypto
that referenced
this issue
Jan 16, 2021
some tests for features in pkasila#8, pkasila#11
amyramos
added a commit
to amyramos/gorm-crypto
that referenced
this issue
Jan 16, 2021
updated tests for pkasila#8 and pkasila#11
amyramos
added a commit
to amyramos/gorm-crypto
that referenced
this issue
Jan 16, 2021
…d tests add and update tests for ECDSA and Ed25519 signing algorithms (pkasila#8 and pkasila#11)
amyramos
added a commit
to amyramos/gorm-crypto
that referenced
this issue
Jan 16, 2021
updated tests for pkasila#8 and pkasila#11
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Maybe it will be a great feature to have an opportunity to add signatures to data stored in the database. So, it will be possible to verify integrity of data stored in the database on the client side. It can be used to determine if there were changes of the signed data.
Describe the solution you'd like
Add a new structure called
SignedValue
which will useSignatureAlgorithms
variable and asEncryptedValue
use the first algorithm to sign data and use other algorithms with lower priority (fallbacks) if it's not possible to verify signature with the first (primary) algorithm. ExampleSignedValue
struct based onEncryptedValue
:Raw
is value which is stored in the database,Valid
is boolean which tells if theRaw
value is signed correctly.The text was updated successfully, but these errors were encountered: