1<testcase>
2<info>
3<keywords>
4POP3
5SASL
6SASL AUTH DIGEST-MD5
7RFC1734
8RFC2831
9RFC5034
10</keywords>
11</info>
12
13#
14# Server-side
15<reply>
16<servercmd>
17AUTH DIGEST-MD5
18REPLY AUTH + cmVhbG09ImN1cmwiLG5vbmNlPSI1MzAwZDE3YTFkNjk1YmQ0MTFlNGNkZjk2Zjk1NDhjMjNjZWQ2MTc1IixhbGdvcml0aG09bWQ1LXNlc3MscW9wPSJhdXRoIg==
19REPLY dXNlcm5hbWU9InVzZXIiLHJlYWxtPSJjdXJsIixub25jZT0iNTMwMGQxN2ExZDY5NWJkNDExZTRjZGY5NmY5NTQ4YzIzY2VkNjE3NSIsY25vbmNlPSIzNDMzMzIzMTM0MzMzMjMyMzQzMzMyMzMzNDMzMzIzNCIsbmM9IjAwMDAwMDAxIixkaWdlc3QtdXJpPSJwb3AvY3VybCIscmVzcG9uc2U9MDE2MTNmOWEwNTgxODNmYTc2NmFkNWEwOThiNmE3MTUscW9wPWF1dGg= +
20REPLY  +OK Login successful
21</servercmd>
22<data>
23From: me@somewhere
24To: fake@nowhere
25
26body
27
28--
29  yours sincerely
30</data>
31</reply>
32
33#
34# Client-side
35<client>
36<server>
37pop3
38</server>
39<features>
40!SSPI
41debug
42crypto
43</features>
44 <name>
45POP3 DIGEST-MD5 authentication
46 </name>
47 <command>
48pop3://%HOSTIP:%POP3PORT/869 -u user:secret
49</command>
50</client>
51
52#
53# Verify data after the test has been "shot"
54<verify>
55<protocol>
56CAPA
57AUTH DIGEST-MD5
58dXNlcm5hbWU9InVzZXIiLHJlYWxtPSJjdXJsIixub25jZT0iNTMwMGQxN2ExZDY5NWJkNDExZTRjZGY5NmY5NTQ4YzIzY2VkNjE3NSIsY25vbmNlPSIzNDMzMzIzMTM0MzMzMjMyMzQzMzMyMzMzNDMzMzIzNCIsbmM9IjAwMDAwMDAxIixkaWdlc3QtdXJpPSJwb3AvY3VybCIscmVzcG9uc2U9MDE2MTNmOWEwNTgxODNmYTc2NmFkNWEwOThiNmE3MTUscW9wPWF1dGg=
59
60RETR 869
61QUIT
62</protocol>
63</verify>
64</testcase>
65