search for: saslprep

Displaying 2 results from an estimated 2 matches for "saslprep".

2012 Oct 02
2
[PATCH] Add SCRAM-SHA-1 password scheme
..., - const unsigned char *credentials, size_t size) +static bool verify_credentials(struct scram_auth_request *request) { struct hmac_context ctx; const char *auth_message; @@ -221,54 +189,76 @@ unsigned char stored_key[SHA1_RESULTLEN]; size_t i; - /* FIXME: credentials should be SASLprepped UTF8 data here */ - Hi(credentials, size, request->salt, sizeof(request->salt), - SCRAM_ITERATE_COUNT, request->salted_password); - - hmac_init(&ctx, request->salted_password, - sizeof(request->salted_password), &hash_method_sha1); - hmac_update(&ctx, "Clien...
2012 Feb 21
1
Managesieve AUTHENTICATE with IDN using UTF-8 or encode into ACE?
Hey dovecot-users, clients that speak telnet based protocols like http, smtp usually encode IDN (International Domain Names) containing UTF-8 characters into ACE (ASCII Compatible Encoding) punycode. I am wondering what the case was with managesieve (RFC 5804). For example if I was using a username like "user@???.example.com" with the AUTHENTICATE command. Would that need to be encoded