How to set share secret in binary value?

Alan DeKok aland at deployingradius.com
Sat Sep 8 14:58:24 CEST 2018


On Sep 8, 2018, at 12:47 AM, CS Clemson <g.sesame at gmail.com> wrote:
> 
> I want to set a binary value (a hashed value) in database or clients.conf.
> How can I set it?  I found all examples are using ascii string.

  The server takes ASCII strings as input for the shared secret.  It can take binary data, but you must escape it as octal data:

	secret = "\000\001\002.." etc.

  We're looking into changing this for v4.

  Alan DeKok.




More information about the Freeradius-Users mailing list