Drone Orgsecret

I am getting the following error when trying to list the orgsecrets

client error 404: {"message":"cipher: message authentication failed"}

How can I reset my orgsecrets? I know this has to do with my database secret but I’m not sure how to debug.

I have never seen this error before. The error message seems to be related to encryption, given the reference to “cipher”. Did you enable or change database encryption [1]? Did you enable encryption after plain text data was already being stored in the database?

[1] https://docs.drone.io/installation/security/database/

I had encryption of secrets in the database enabled. I deployed a new version of drone for testing connecting it to a test database. This version had an empty database secret and I messed around with orgsecrets. Sigh. My quick fix was to restore the database from snapshot.

ok awesome, sounds like you got it taken care of. Let us know if there is anything else we can do to help.