First Check
Homebox Version
v0.26.2-rootless
What is the issue you are experiencing?
Error
panic: auth.api_key_pepper must be set to at least 32 bytes; generate with openssl rand -base64 48 and provide via HBOX_AUTH_API_KEY_PEPPER. Rotating it invalidates all issued API keys
Details about environment
Anyone running K8s knows that it base64 encodes all vars. I am running 25.x on my prod and looking to go 0.26.2 on testing to verify it all works, etc.
Process
- Generate the key with the instructions-
openssl rand -base64 48
- Base64 encode it -
echo <that output> | base64
- Place that output into my actual secret (using sops) -
HBOX_AUTH_API_KEY_PEPPER: <the twice base64 encoded output>
Result
Still does not work and fails with the same error. Realistically nothing should be wrong with it now. I can verify the secret itself shows the base64 value it should have. Is there any strictness on what this value can/should be besides 32 bytes? I tried with openssl rand -hex 40 and it failed as well.
How can the maintainer reproduce the issue?
Do as above
Deployment
Docker (Linux)
Database Type
SQLite
OS Architechture
x86_64 (AMD, Intel)
Deployment Details
No response
First Check
Homebox Version
v0.26.2-rootless
What is the issue you are experiencing?
Error
panic: auth.api_key_pepper must be set to at least 32 bytes; generate withopenssl rand -base64 48and provide via HBOX_AUTH_API_KEY_PEPPER. Rotating it invalidates all issued API keysDetails about environment
Anyone running K8s knows that it base64 encodes all vars. I am running 25.x on my prod and looking to go 0.26.2 on testing to verify it all works, etc.
Process
openssl rand -base64 48echo <that output> | base64HBOX_AUTH_API_KEY_PEPPER: <the twice base64 encoded output>Result
Still does not work and fails with the same error. Realistically nothing should be wrong with it now. I can verify the secret itself shows the base64 value it should have. Is there any strictness on what this value can/should be besides 32 bytes? I tried with
openssl rand -hex 40and it failed as well.How can the maintainer reproduce the issue?
Do as above
Deployment
Docker (Linux)
Database Type
SQLite
OS Architechture
x86_64 (AMD, Intel)
Deployment Details
No response