I have a problem with setting 'client public key' in dnscrypt-proxy. For every key that I generate and try to use dnscrtpy-proxy returns an error:
The client key file doesn't seem to contain a supported key format
Client key file [...] could not be used
Description of '--client-key' option says:
Use a client public key for identification. By default, the client uses a randomized key pair in order to make tracking more difficult. This option does the opposite and uses a static key pair, so that DNS providers can offer premium services to queries signed with a known set of public keys. A client cannot decrypt the received responses without also knowing the secret key. The value for this property is the path to a file containing the secret key, encoded as a hexadecimal string. The corresponding public key is computed automatically.
So how I can generate or convert key to hexadecimal string?
Regards, A. Bialy