Skip to content
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

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

Open
2 tasks done
ghost opened this issue Sep 1, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Sep 1, 2023

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • 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 ghost added the bug Something isn't working label Sep 1, 2023
@bartoszpijet
Copy link

Take a look at #27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant