Knowledge Drop

Looker can not start because: Incorrect number of bytes in Base64 decoded key. 32 bytes expected but 24 bytes provided.

  • 7 July 2021
  • 0 replies
  • 9 views

Userlevel 2
  • Looker Staff
  • 24 replies

Last tested: Nov 5, 2018
 

This error means that you're running with the new encryption and is using a locally backed key. The provided key doesn't match the format that we expect, in this particular case we detected the key was base64 decoded it and the base64 decoded output wasn't the proper number of bytes, which should be 32.

A recommended way to generate keys is with the following:

>openssl rand 32 -base64 > key_file

 

This content is subject to limited support.                

 

 


0 replies

Be the first to reply!

Reply