xref: /curl/tests/data/test869 (revision 18f1cd7a)
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 dXNlcm5hbWU9InVzZXIiLHJlYWxtPSJjdXJsIixub25jZT0iNTMwMGQxN2ExZDY5NWJkNDExZTRjZGY5NmY5NTQ4YzIzY2VkNjE3NSIsY25vbmNlPSIzNDMzMzIzMTM1MzMzMjMxMzYzMzMyMzEzNzMzMzIzMSIsbmM9IjAwMDAwMDAxIixkaWdlc3QtdXJpPSJwb3AvMTI3LjAuMC4xIixyZXNwb25zZT0xODMxNTU0OGM3ZjNhMzdlNzE2ZmE4ZTkwZGZhYjliNixxb3A9YXV0aA== + cnNwYXV0aD1mZWNiMzZiNzA4NmUwYjk1ZDkwNjQ1OWVmYThjYzI5ZQ==
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/%TESTNUMBER -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
58dXNlcm5hbWU9InVzZXIiLHJlYWxtPSJjdXJsIixub25jZT0iNTMwMGQxN2ExZDY5NWJkNDExZTRjZGY5NmY5NTQ4YzIzY2VkNjE3NSIsY25vbmNlPSIzNDMzMzIzMTM1MzMzMjMxMzYzMzMyMzEzNzMzMzIzMSIsbmM9IjAwMDAwMDAxIixkaWdlc3QtdXJpPSJwb3AvMTI3LjAuMC4xIixyZXNwb25zZT0xODMxNTU0OGM3ZjNhMzdlNzE2ZmE4ZTkwZGZhYjliNixxb3A9YXV0aA==
59
60RETR %TESTNUMBER
61QUIT
62</protocol>
63</verify>
64</testcase>
65