diff options
Diffstat (limited to 'src/tests/digest-01')
-rw-r--r-- | src/tests/digest-01/digest-auth-MD5 | 28 | ||||
-rw-r--r-- | src/tests/digest-01/digest-auth-MD5_Sess | 23 | ||||
-rw-r--r-- | src/tests/digest-01/digest-auth-int | 23 | ||||
-rw-r--r-- | src/tests/digest-01/digest-auth-noalgo | 21 | ||||
-rw-r--r-- | src/tests/digest-01/digest-auth_int-MD5 | 23 | ||||
-rw-r--r-- | src/tests/digest-01/digest-auth_int-MD5_Sess | 24 | ||||
-rw-r--r-- | src/tests/digest-01/digest-auth_int-noalgo | 22 | ||||
-rw-r--r-- | src/tests/digest-01/digest-md5-sess | 21 |
8 files changed, 185 insertions, 0 deletions
diff --git a/src/tests/digest-01/digest-auth-MD5 b/src/tests/digest-01/digest-auth-MD5 new file mode 100644 index 0000000..cdac8f7 --- /dev/null +++ b/src/tests/digest-01/digest-auth-MD5 @@ -0,0 +1,28 @@ +# +# http://ftp6.us.freebsd.org/pub/rfc/internet-drafts/draft-smith-sipping-auth-examples-01.txt +# +# Section 3.3 +# +# +# In the "users" file: +# +# bob Cleartext-Password := "zanzibar" +# Or bob Digest-HA1 := "12af60467a33e8518da5c68bbff12b11" +# +# +# +# How many tests we have for this input file +# +# TESTS 1 2 +# +User-Name = "bob", +Digest-Response = "89eb0059246c02b2f6ee02c7961d5ea3", +Digest-Realm = "biloxi.com", +Digest-Nonce = "dcd98b7102dd2f0e8b11d0f600bfb0c093", +Digest-Method = "INVITE", +Digest-URI = "sip:bob@biloxi.com", +Digest-User-Name = "bob", +Digest-QOP = "auth", +Digest-Algorithm = "MD5", +Digest-Nonce-Count = "00000001", +Digest-CNonce = "0a4f113b", diff --git a/src/tests/digest-01/digest-auth-MD5_Sess b/src/tests/digest-01/digest-auth-MD5_Sess new file mode 100644 index 0000000..1c8d0ac --- /dev/null +++ b/src/tests/digest-01/digest-auth-MD5_Sess @@ -0,0 +1,23 @@ +# +# http://ftp6.us.freebsd.org/pub/rfc/internet-drafts/draft-smith-sipping-auth-examples-01.txt +## +# 3.4 +# +# +# In the "users" file: +# bob User-Password := "zanzibar" +# Or bob Digest-HA1 := "12af60467a33e8518da5c68bbff12b11" +# +# TESTS 1 2 +# +User-Name = "bob", +Digest-Response = "e4e4ea61d186d07a92c9e1f6919902e9", +Digest-Realm = "biloxi.com", +Digest-Nonce = "dcd98b7102dd2f0e8b11d0f600bfb0c093", +Digest-Method = "INVITE", +Digest-URI = "sip:bob@biloxi.com", +Digest-User-Name = "bob", +Digest-QOP = "auth", +Digest-Algorithm = "MD5-Sess", +Digest-Nonce-Count = "00000001", +Digest-CNonce = "0a4f113b", diff --git a/src/tests/digest-01/digest-auth-int b/src/tests/digest-01/digest-auth-int new file mode 100644 index 0000000..f3ea45e --- /dev/null +++ b/src/tests/digest-01/digest-auth-int @@ -0,0 +1,23 @@ +# +# http://ftp6.us.freebsd.org/pub/rfc/internet-drafts/draft-smith-sipping-auth-examples-01.txt +# +# 3.5.2 +# +# +# In the "users" file: bob Cleartext-Password := "zanzibar" +# +# TESTS 1 +# +User-Name = "bob", +Digest-Response = "bdbeebb2da6adb6bca02599c2239e192" +Digest-Realm = "biloxi.com", +Digest-Nonce = "dcd98b7102dd2f0e8b11d0f600bfb0c093", +Digest-Method = "INVITE", +Digest-URI = "sip:bob@biloxi.com", +Digest-Algorithm = "MD5", +Digest-User-Name = "bob", +Digest-QOP = "auth-int", +Digest-Nonce-Count = "00000001", +Digest-CNonce = "0a4f113b", +Digest-Body-Digest = "c1ed018b8ec4a3b170c0921f5b564e48", +Message-Authenticator = "" diff --git a/src/tests/digest-01/digest-auth-noalgo b/src/tests/digest-01/digest-auth-noalgo new file mode 100644 index 0000000..1ab6ba6 --- /dev/null +++ b/src/tests/digest-01/digest-auth-noalgo @@ -0,0 +1,21 @@ +# +# http://ftp6.us.freebsd.org/pub/rfc/internet-drafts/draft-smith-sipping-auth-examples-01.txt +# +# 3.2 +# +# In the "users" file: +# bob User-Password := "zanzibar" +# Or bob Digest-HA1 := "12af60467a33e8518da5c68bbff12b11" +# +# TESTS 1 +# +User-Name = "bob", +Digest-Response = "89eb0059246c02b2f6ee02c7961d5ea3", +Digest-Realm = "biloxi.com", +Digest-Nonce = "dcd98b7102dd2f0e8b11d0f600bfb0c093", +Digest-Method = "INVITE", +Digest-URI = "sip:bob@biloxi.com", +Digest-User-Name = "bob", +Digest-QOP = "auth", +Digest-Nonce-Count = "00000001", +Digest-CNonce = "0a4f113b", diff --git a/src/tests/digest-01/digest-auth_int-MD5 b/src/tests/digest-01/digest-auth_int-MD5 new file mode 100644 index 0000000..30e1c48 --- /dev/null +++ b/src/tests/digest-01/digest-auth_int-MD5 @@ -0,0 +1,23 @@ +# +# http://ftp6.us.freebsd.org/pub/rfc/internet-drafts/draft-smith-sipping-auth-examples-01.txt +# +# 3.5.2 +# +# In the "users" file: +# bob User-Password := "zanzibar" +# Or bob Digest-HA1 := "12af60467a33e8518da5c68bbff12b11" +# +# TESTS 1 2 +# +User-Name = "bob", +Digest-Response = "bdbeebb2da6adb6bca02599c2239e192" +Digest-Realm = "biloxi.com", +Digest-Nonce = "dcd98b7102dd2f0e8b11d0f600bfb0c093", +Digest-Method = "INVITE", +Digest-URI = "sip:bob@biloxi.com", +Digest-Algorithm = "MD5", +Digest-User-Name = "bob", +Digest-QOP = "auth-int", +Digest-Nonce-Count = "00000001", +Digest-CNonce = "0a4f113b", +Digest-Body-Digest = "c1ed018b8ec4a3b170c0921f5b564e48", diff --git a/src/tests/digest-01/digest-auth_int-MD5_Sess b/src/tests/digest-01/digest-auth_int-MD5_Sess new file mode 100644 index 0000000..7665bc0 --- /dev/null +++ b/src/tests/digest-01/digest-auth_int-MD5_Sess @@ -0,0 +1,24 @@ +# +# http://ftp6.us.freebsd.org/pub/rfc/internet-drafts/draft-smith-sipping-auth-examples-01.txt +## +# 3.6 +# +# In the "users" file: +# bob User-Password := "zanzibar" +# Or bob Digest-HA1 := "12af60467a33e8518da5c68bbff12b11" +# +# +# TESTS 1 2 +# +User-Name = "bob", +Digest-Response = "91984da2d8663716e91554859c22ca70", +Digest-Realm = "biloxi.com", +Digest-Nonce = "dcd98b7102dd2f0e8b11d0f600bfb0c093", +Digest-Method = "INVITE", +Digest-URI = "sip:bob@biloxi.com", +Digest-User-Name = "bob", +Digest-QOP = "auth-int", +Digest-Algorithm = "MD5-Sess", +Digest-Nonce-Count = "00000001", +Digest-CNonce = "0a4f113b", +Digest-Body-Digest = "c1ed018b8ec4a3b170c0921f5b564e48", diff --git a/src/tests/digest-01/digest-auth_int-noalgo b/src/tests/digest-01/digest-auth_int-noalgo new file mode 100644 index 0000000..83675d8 --- /dev/null +++ b/src/tests/digest-01/digest-auth_int-noalgo @@ -0,0 +1,22 @@ +# +# http://ftp6.us.freebsd.org/pub/rfc/internet-drafts/draft-smith-sipping-auth-examples-01.txt +# +# 3.5.2 +# +# In the "users" file: +# bob User-Password := "zanzibar" +# Or bob Digest-HA1 := "12af60467a33e8518da5c68bbff12b11" +# +# TESTS 1 2 +# +User-Name = "bob", +Digest-Response = "bdbeebb2da6adb6bca02599c2239e192" +Digest-Realm = "biloxi.com", +Digest-Nonce = "dcd98b7102dd2f0e8b11d0f600bfb0c093", +Digest-Method = "INVITE", +Digest-URI = "sip:bob@biloxi.com", +Digest-User-Name = "bob", +Digest-QOP = "auth-int", +Digest-Nonce-Count = "00000001", +Digest-CNonce = "0a4f113b", +Digest-Body-Digest = "c1ed018b8ec4a3b170c0921f5b564e48", diff --git a/src/tests/digest-01/digest-md5-sess b/src/tests/digest-01/digest-md5-sess new file mode 100644 index 0000000..a77cbab --- /dev/null +++ b/src/tests/digest-01/digest-md5-sess @@ -0,0 +1,21 @@ +# +# http://ftp6.us.freebsd.org/pub/rfc/internet-drafts/draft-smith-sipping-auth-examples-01.txt +# +# ?? +# +# +# In the "users" file: bob Cleartext-Password := "zanzibar" +# +# TESTS 1 +# +User-name = "bob", +Digest-Response = "e4e4ea61d186d07a92c9e1f6919902e9", +Digest-Realm = "biloxi.com", +Digest-Nonce = "dcd98b7102dd2f0e8b11d0f600bfb0c093", +Digest-Method = "INVITE", +Digest-URI = "sip:bob@biloxi.com", +Digest-Algorithm = "MD5-sess", +Digest-User-Name = "bob", +Digest-QOP = "auth", +Digest-Nonce-Count = "00000001", +Digest-CNonce = "0a4f113b" |