Skip to content

Update configuration-files.mdx - Specify that encryptionKey is a base64 string of a key#640

Merged
shuuri-labs merged 1 commit intonetbirdio:mainfrom
baselsayeh:main
Apr 23, 2026
Merged

Update configuration-files.mdx - Specify that encryptionKey is a base64 string of a key#640
shuuri-labs merged 1 commit intonetbirdio:mainfrom
baselsayeh:main

Conversation

@baselsayeh
Copy link
Copy Markdown
Contributor

@baselsayeh baselsayeh commented Feb 26, 2026

Specify that encryptionKey is a base64 string of a key

@baselsayeh
Copy link
Copy Markdown
Contributor Author

baselsayeh commented Feb 26, 2026

I'm setting up a self hosted netbird server deployment,

and found that the example docker-compose file fails to run with FATL management/internals/server/boot.go:70: failed to create field encryptor: encryption key must be 32 bytes, got x

because both server.store.encryptionKey and server.authSecret are base-64 strings and not ascii (or utf-8) strings

@shuuri-labs
Copy link
Copy Markdown
Contributor

encryptionKey is indeed a base64 encoded string, but authSecret is not - in can be any arbitray String. Could you please update the PR accordingly? @baselsayeh

Specify that encryptionKey is a base64 string of a key
@baselsayeh baselsayeh changed the title Update configuration-files.mdx - Specify that authSecret and encryptionKey are base64 strings Update configuration-files.mdx - Specify that encryptionKey is a base64 string of a key Apr 21, 2026
@baselsayeh
Copy link
Copy Markdown
Contributor Author

encryptionKey is indeed a base64 encoded string, but authSecret is not - in can be any arbitray String. Could you please update the PR accordingly? @baselsayeh

@shuuri-labs Done

@shuuri-labs shuuri-labs merged commit 122c58b into netbirdio:main Apr 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants