fusio icon indicating copy to clipboard operation
fusio copied to clipboard

invalid key length

Open algethamy opened this issue 2 years ago • 4 comments

I am encountering the following error message:

error:03000082:digital envelope routines::invalid key length, error:1C800064:Provider routines::bad decrypt

I am unsure about the origin of this error.

algethamy avatar Jul 26 '23 13:07 algethamy

@algethamy this sounds like there is an error decrypting the credentials from your fusio_connection table, maybe your project_key has changed in the config which is used to en/decrypt these connection credentials?

chriskapp avatar Jul 26 '23 17:07 chriskapp

No i have not changed the key

algethamy avatar Jul 26 '23 17:07 algethamy

is there a way to re-encrypt it?

algethamy avatar Jul 26 '23 18:07 algethamy

ok, currently there is no way to directly re-encrypt those values, for a quick fix you could remove the config value from the fusio_connection table, then you should be able to set a new config. I would assume that you get this error at the backend connection panel. In a future version we should also catch this error so that you are able to update such broken credentials from the backend.

chriskapp avatar Jul 30 '23 16:07 chriskapp