vault icon indicating copy to clipboard operation
vault copied to clipboard

Unable to access view decrypted_secrets from cron job ERROR: pgsodium_crypto_aead_det_decrypt_by_id: invalid ciphertext

Open ghost opened this issue 2 years ago • 1 comments

Bug report

  • [X] I confirm this is a bug with Supabase, not with my own application.
  • [X] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

Trying to run a cron_job that access the view decrypted_secrets.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

Create a cron_job that runs every once in a while (with user postgres) With a function that tries to access the view decrypted_secrets

Expected behavior

The cron_job is successful and accessed the view decrypted_secrets

System information

-- Running on the Supabase Cloud

ghost avatar Sep 01 '23 03:09 ghost

Take a look at #27

bartoszpijet avatar Nov 10 '23 15:11 bartoszpijet