def make_otp_response(vres, client_key):
if client_key is not None:<EOL><INDENT>sig = make_signature(vres, client_key)<EOL>vres['<STR_LIT:h>'] = sig<EOL><DEDENT>pairs = [x + "<STR_LIT:=>" + '<STR_LIT>'.join(vres[x]) for x in sorted(vres.keys())]<EOL>return '<STR_LIT:\n>'.join(pairs)<EOL>
Create validation response (signed, if a client key is supplied).