aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test869
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-10-23 18:29:29 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-10-23 18:30:00 +0100
commit1be69159f3c6635ee4fb0333c5bc6563830cf156 (patch)
treeb9fe002312321a5a649182391cfb8bbe81917955 /tests/data/test869
parenta3da0a96e383225b11d5a2de02d7217b33aa76da (diff)
tests: Added POP3 DIGEST-MD5 authentication test
Diffstat (limited to 'tests/data/test869')
-rw-r--r--tests/data/test86960
1 files changed, 60 insertions, 0 deletions
diff --git a/tests/data/test869 b/tests/data/test869
new file mode 100644
index 000000000..71e52342c
--- /dev/null
+++ b/tests/data/test869
@@ -0,0 +1,60 @@
+<testcase>
+<info>
+<keywords>
+POP3
+POP3 AUTH DIGEST-MD5
+RFC1734
+RFC2831
+RFC5034
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+<servercmd>
+AUTH DIGEST-MD5
+REPLY AUTH + cmVhbG09ImN1cmwiLG5vbmNlPSI1MzAwZDE3YTFkNjk1YmQ0MTFlNGNkZjk2Zjk1NDhjMjNjZWQ2MTc1IixhbGdvcml0aG09bWQ1LXNlc3MscW9wPSJhdXRoIg==
+REPLY dXNlcm5hbWU9InVzZXIiLHJlYWxtPSJjdXJsIixub25jZT0iNTMwMGQxN2ExZDY5NWJkNDExZTRjZGY5NmY5NTQ4YzIzY2VkNjE3NSIsY25vbmNlPSIxMjM0NTY3OCIsbmM9IjAwMDAwMDAxIixkaWdlc3QtdXJpPSJwb3AvY3VybCIscmVzcG9uc2U9YTA2OTE1YTA1ODA3ZDc0MTg0YTkxYjM2NjE2ZTZiOGM= +OK Login successful
+</servercmd>
+<data>
+From: me@somewhere
+To: fake@nowhere
+
+body
+
+--
+ yours sincerely
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+pop3
+</server>
+<features>
+debug
+crypto
+</features>
+ <name>
+POP3 DIGEST-MD5 authentication
+ </name>
+ <command>
+pop3://%HOSTIP:%POP3PORT/869 -u user:secret
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+CAPA
+AUTH DIGEST-MD5
+dXNlcm5hbWU9InVzZXIiLHJlYWxtPSJjdXJsIixub25jZT0iNTMwMGQxN2ExZDY5NWJkNDExZTRjZGY5NmY5NTQ4YzIzY2VkNjE3NSIsY25vbmNlPSIxMjM0NTY3OCIsbmM9IjAwMDAwMDAxIixkaWdlc3QtdXJpPSJwb3AvY3VybCIscmVzcG9uc2U9YTA2OTE1YTA1ODA3ZDc0MTg0YTkxYjM2NjE2ZTZiOGM=
+RETR 869
+QUIT
+</protocol>
+</verify>
+</testcase>