/curl/lib/vauth/ |
H A D | vauth.c | 58 const char *realm) in Curl_auth_build_spn() argument 63 if(host && realm) in Curl_auth_build_spn() 64 spn = aprintf("%s/%s@%s", service, host, realm); in Curl_auth_build_spn() 67 else if(realm) in Curl_auth_build_spn() 68 spn = aprintf("%s@%s", service, realm); in Curl_auth_build_spn() 75 const char *realm) in Curl_auth_build_spn() argument 81 (void) realm; in Curl_auth_build_spn()
|
H A D | digest.c | 291 *realm = '\0'; in auth_decode_digest_md5_message() 351 char realm[128]; in Curl_auth_create_digest_md5_message() local 364 realm, sizeof(realm), in Curl_auth_create_digest_md5_message() 479 userp, realm, nonce, in Curl_auth_create_digest_md5_message() 542 free(digest->realm); in Curl_auth_decode_digest_http_message() 543 digest->realm = strdup(content); in Curl_auth_decode_digest_http_message() 544 if(!digest->realm) in Curl_auth_decode_digest_http_message() 727 hashthis = aprintf("%s:%s", userp, digest->realm ? digest->realm : ""); in auth_create_digest_http_message() 749 hashthis = aprintf("%s:%s:%s", userp, digest->realm ? digest->realm : "", in auth_create_digest_http_message() 849 if(digest->realm) in auth_create_digest_http_message() [all …]
|
/curl/tests/data/ |
H A D | test2026 | 22 WWW-Authenticate: Digest realm="testrealm", nonce="1" 23 WWW-Authenticate: Basic realm="testrealm" 33 WWW-Authenticate: Basic realm="testrealm" 56 WWW-Authenticate: Basic realm="testrealm" 66 WWW-Authenticate: Basic realm="testrealm" 79 WWW-Authenticate: Basic realm="testrealm" 100 WWW-Authenticate: Basic realm="testrealm" 106 WWW-Authenticate: Basic realm="testrealm" 121 WWW-Authenticate: Basic realm="testrealm" 127 WWW-Authenticate: Basic realm="testrealm" [all …]
|
H A D | test2024 | 22 WWW-Authenticate: Digest realm="testrealm", nonce="1" 23 WWW-Authenticate: Basic realm="testrealm" 44 WWW-Authenticate: Digest realm="testrealm", nonce="2" 45 WWW-Authenticate: Basic realm="testrealm" 56 WWW-Authenticate: Digest realm="testrealm", nonce="3" 57 WWW-Authenticate: Basic realm="testrealm" 77 WWW-Authenticate: Digest realm="testrealm", nonce="1" 78 WWW-Authenticate: Basic realm="testrealm" 91 WWW-Authenticate: Digest realm="testrealm", nonce="2" 92 WWW-Authenticate: Basic realm="testrealm" [all …]
|
H A D | test2027 | 29 WWW-Authenticate: Digest realm="testrealm", nonce="1" 39 WWW-Authenticate: Digest realm="testrealm", nonce="2" 50 WWW-Authenticate: Digest realm="testrealm", nonce="3" 70 WWW-Authenticate: Digest realm="testrealm", nonce="4" 80 WWW-Authenticate: Digest realm="testrealm", nonce="5" 91 WWW-Authenticate: Digest realm="testrealm", nonce="6" 101 WWW-Authenticate: Digest realm="testrealm", nonce="7" 121 WWW-Authenticate: Digest realm="testrealm", nonce="1" 127 WWW-Authenticate: Digest realm="testrealm", nonce="2" 140 WWW-Authenticate: Digest realm="testrealm", nonce="4" [all …]
|
H A D | test1075 | 19 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts" 20 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts" 21 WWW-Authenticate: X-bogus-auth realm="gimme all yer s3cr3ts" 29 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts" 30 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts" 31 WWW-Authenticate: X-bogus-auth realm="gimme all yer s3cr3ts" 37 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts" 38 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts" 39 WWW-Authenticate: X-bogus-auth realm="gimme all yer s3cr3ts"
|
H A D | test1095 | 14 WWW-Authenticate: Digest realm="test \"this\" realm!!", nonce="1053604145" 35 WWW-Authenticate: Digest realm="test \"this\" realm!!", nonce="1053604145" 59 HTTP with Digest and realm with quoted quotes 76 Authorization: Digest username="testuser", realm="test \"this\" realm!!", nonce="1053604145", uri="…
|
H A D | test1412 | 19 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts" 20 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts" 21 WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344" 32 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts" 33 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts" 34 WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344" 67 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts" 68 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts" 69 WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344" 111 Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/%… [all …]
|
H A D | test2030 | 36 WWW-Authenticate: Digest realm="testrealm", nonce="1" 56 WWW-Authenticate: Digest realm="testrealm", nonce="2" 69 WWW-Authenticate: Digest realm="testrealm", nonce="3" 89 WWW-Authenticate: Digest realm="testrealm", nonce="4" 111 WWW-Authenticate: Digest realm="testrealm", nonce="5" 122 WWW-Authenticate: Digest realm="testrealm", nonce="6" 134 WWW-Authenticate: Digest realm="testrealm", nonce="7" 145 WWW-Authenticate: Digest realm="testrealm", nonce="8" 171 WWW-Authenticate: Digest realm="testrealm", nonce="2" 192 WWW-Authenticate: Digest realm="testrealm", nonce="5" [all …]
|
H A D | test1071 | 20 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts" 21 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts" 22 WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344" 45 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts" 46 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts" 47 WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344" 101 Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/%…
|
H A D | test168 | 18 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345" 26 WWW-Authenticate: Digest realm="realmweirdo", nonce="123456" 41 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345" 44 WWW-Authenticate: Digest realm="realmweirdo", nonce="123456" 83 Proxy-Authorization: Digest username="foo", realm="weirdorealm", nonce="12345", uri="/%TESTNUMBER",… 90 Proxy-Authorization: Digest username="foo", realm="weirdorealm", nonce="12345", uri="/%TESTNUMBER",… 91 Authorization: Digest username="digest", realm="realmweirdo", nonce="123456", uri="/%TESTNUMBER", r…
|
H A D | test1030 | 16 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts" 17 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts" 18 WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344" 40 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts" 41 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts" 42 WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344" 95 Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/%…
|
H A D | test335 | 20 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345" 28 WWW-Authenticate: Digest realm="realmweirdo", nonce="123456" 43 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345" 46 WWW-Authenticate: Digest realm="realmweirdo", nonce="123456" 85 Proxy-Authorization: Digest username="foo", realm="weirdorealm", nonce="12345", uri="/%TESTNUMBER",… 92 Proxy-Authorization: Digest username="foo", realm="weirdorealm", nonce="12345", uri="/%TESTNUMBER",… 93 Authorization: Digest username="digest", realm="realmweirdo", nonce="123456", uri="/%TESTNUMBER", r…
|
H A D | test154 | 16 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts" 17 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts" 18 WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344" 40 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts" 41 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts" 42 WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344" 95 Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/%…
|
H A D | test72 | 14 WWW-Authenticate: Basic realm="foothis" 15 WWW-Authenticate: Digest realm="testrealm", nonce="1053604199" 36 WWW-Authenticate: Basic realm="foothis" 37 WWW-Authenticate: Digest realm="testrealm", nonce="1053604199" 78 Authorization: Digest username="testuser", realm="testrealm", nonce="1053604199", uri="/%TESTNUMBER…
|
H A D | test273 | 14 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145" 15 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145" 35 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145" 36 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145" 76 Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/%TESTNUMBER…
|
H A D | test153 | 16 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145" 27 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145" 52 WWW-Authenticate: Digest realm="testrealm", algorithm=MD5, nonce="999999", stale=true, qop="auth" 101 Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/%TESTNUMBER… 112 Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/%TESTNUMBER… 118 Authorization: Digest username="testuser", realm="testrealm", nonce="999999", uri="/%TESTNUMBER0002… 126 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145" 138 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145" 144 WWW-Authenticate: Digest realm="testrealm", algorithm=MD5, nonce="999999", stale=true, qop="auth"
|
H A D | test2028 | 24 WWW-Authenticate: Digest realm="testrealm", nonce="1" 34 WWW-Authenticate: Digest realm="testrealm", nonce="2" 47 WWW-Authenticate: Digest realm="testrealm", nonce="3" 77 WWW-Authenticate: Digest realm="testrealm", nonce="4" 89 WWW-Authenticate: Digest realm="testrealm", nonce="5" 100 WWW-Authenticate: Digest realm="testrealm", nonce="6" 122 WWW-Authenticate: Digest realm="testrealm", nonce="7" 133 WWW-Authenticate: Digest realm="testrealm", nonce="8" 164 WWW-Authenticate: Digest realm="testrealm", nonce="1" 170 WWW-Authenticate: Digest realm="testrealm", nonce="2" [all …]
|
H A D | test388 | 16 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145" 27 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145" 52 WWW-Authenticate: Digest realm="testrealm", algorithm=MD5, nonce="999999", stale=true, qop="crazy, … 101 Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/%TESTNUMBER… 112 Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/%TESTNUMBER… 118 Authorization: Digest username="testuser", realm="testrealm", nonce="999999", uri="/%TESTNUMBER0002… 126 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145" 138 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145" 144 WWW-Authenticate: Digest realm="testrealm", algorithm=MD5, nonce="999999", stale=true, qop="crazy, …
|
H A D | test1418 | 19 WWW-Authenticate: Digest realm="loonie", nonce="314156592" 28 WWW-Authenticate: Digest realm="loonie", nonce="314156592" 65 WWW-Authenticate: Digest realm="loonie", nonce="314156592" 104 Authorization: Digest username="testuser", realm="loonie", nonce="314156592", uri="/%TESTNUMBER", r… 115 Authorization: Digest username="testuser", realm="loonie", nonce="314156592", uri="/%TESTNUMBER0003…
|
H A D | test1204 | 15 WWW-Authenticate: X-MobileMe-AuthToken realm="Newcastle", Basic realm="fun fun fun" 35 WWW-Authenticate: X-MobileMe-AuthToken realm="Newcastle", Basic realm="fun fun fun"
|
H A D | test540 | 21 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345" 38 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345" 47 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345" 90 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/%TESTN… 101 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/%TESTN…
|
H A D | test3101 | 14 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts" 15 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts" 37 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts" 38 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
|
H A D | test2023 | 18 WWW-Authenticate: Basic realm="testrealm" 39 WWW-Authenticate: Basic realm="testrealm" 50 WWW-Authenticate: Basic realm="testrealm" 70 WWW-Authenticate: Basic realm="testrealm" 83 WWW-Authenticate: Basic realm="testrealm" 90 WWW-Authenticate: Basic realm="testrealm"
|
H A D | test2025 | 24 WWW-Authenticate: Basic realm="testrealm" 35 WWW-Authenticate: Basic realm="testrealm" 67 WWW-Authenticate: Basic realm="testrealm" 78 WWW-Authenticate: Basic realm="testrealm" 100 WWW-Authenticate: Basic realm="testrealm" 111 WWW-Authenticate: Basic realm="testrealm" 142 WWW-Authenticate: Basic realm="testrealm" 162 WWW-Authenticate: Basic realm="testrealm" 176 WWW-Authenticate: Basic realm="testrealm"
|