supabase / vault

Extension for storing encrypted secrets in the Vault
Apache License 2.0
163 stars 9 forks source link

Unable to update secret's description #9

Open joshenlim opened 1 year ago

joshenlim commented 1 year ago

Bug report

Describe the bug

Running a query to update the description of a secret throws the following error Failed to run sql query: pgsodium_crypto_aead_det_decrypt_by_id: invalid ciphertext

This is done by updating the description column of the decrypted_secrets view from vault

michelp commented 1 year ago

Same fix as applies to #10 and #11.