search for: client_signature

Displaying 4 results from an estimated 4 matches for "client_signature".

2012 Oct 02
2
[PATCH] Add SCRAM-SHA-1 password scheme
...hout_proof, NULL); - hmac_init(&ctx, stored_key, sizeof(stored_key), &hash_method_sha1); + hmac_init(&ctx, request->stored_key->data, request->stored_key->used, + &hash_method_sha1); hmac_update(&ctx, auth_message, strlen(auth_message)); hmac_final(&ctx, client_signature); for (i = 0; i < sizeof(client_signature); i++) - client_signature[i] ^= client_key[i]; + client_key[i] = + ((char*)request->proof->data)[i] ^ client_signature[i]; + + sha1_get_digest(client_key, sizeof(client_key), stored_key); safe_memset(client_key, 0, sizeof(client_key));...
2008 Jan 18
8
Query All Worker
What does the method query_all_workers() do? There is no documentation on what this method returns (1.0.1 version). Orion -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080118/9f9b8112/attachment.html
2012 Sep 04
2
[PATCH] Generalize HMAC implementation
...;); @@ -213,7 +214,7 @@ static bool verify_credentials(struct scram_auth_request *request, const unsigned char *credentials, size_t size) { - struct hmac_sha1_context ctx; + struct hmac_context ctx; const char *auth_message; unsigned char client_key[SHA1_RESULTLEN]; unsigned char client_signature[SHA1_RESULTLEN]; @@ -224,10 +225,10 @@ Hi(credentials, size, request->salt, sizeof(request->salt), SCRAM_ITERATE_COUNT, request->salted_password); - hmac_sha1_init(&ctx, request->salted_password, - sizeof(request->salted_password)); - hmac_sha1_update(&ctx, "C...
2008 Apr 14
6
Good news: BackgrounDRb now works on Windows
...worker - cron scheduling - register_status and ask_status - making a synchronous call and getting a result back kind of works, except I get the whole hash back with the result in the :data key instead of just getting the result alone. In other words I get a hash like this: {:type=>:response, :client_signature=>25, :result=>true, :data=>1} which is odd because it''s calling the same "extract" function that ask_status uses, so I''m not sure why this is any different. There are some things I haven''t tried yet but it''s great that this many cases work....