ubccr / mokey

FreeIPA self-service account management portal
BSD 3-Clause "New" or "Revised" License
194 stars 46 forks source link

Error: FATA[0000] encoding/hex: invalid byte: U+0068 'h' #62

Closed mhaluska closed 3 years ago

mhaluska commented 3 years ago

Info:

Problem: Mokey start fatal error Error:

# sudo -u mokey /usr/bin/mokey --debug server
INFO[0000] Using template dir: /usr/share/mokey/templates
FATA[0000] encoding/hex: invalid byte: U+0068 'h'
aebruno commented 3 years ago

Looks like you need to adjust the enc_key setting in mokey.yaml. Try setting this to the output of:

$ openssl rand -hex 16
mhaluska commented 3 years ago

Looks like you need to adjust the enc_key setting in mokey.yaml. Try setting this to the output of:

$ openssl rand -hex 16

Thank you, this solved my issue.