michelp / pgsodium

Modern cryptography for PostgreSQL using libsodium.
Other
555 stars 32 forks source link

Update secret when updating associated data #56

Open michelp opened 1 year ago

michelp commented 1 year ago

Any time associated data is updated,the secret must also be updated. Add triggers for associted columns that also re-encrypt secret with new association.