xref: /aosp_15_r20/external/curl/tests/data/test881 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<testcase>
2*6236dae4SAndroid Build Coastguard Worker<info>
3*6236dae4SAndroid Build Coastguard Worker<keywords>
4*6236dae4SAndroid Build Coastguard WorkerPOP3
5*6236dae4SAndroid Build Coastguard WorkerSASL
6*6236dae4SAndroid Build Coastguard WorkerSASL AUTH DIGEST-MD5
7*6236dae4SAndroid Build Coastguard WorkerSASL AUTH PLAIN
8*6236dae4SAndroid Build Coastguard WorkerSASL DOWNGRADE
9*6236dae4SAndroid Build Coastguard WorkerRFC1734
10*6236dae4SAndroid Build Coastguard WorkerRFC2831
11*6236dae4SAndroid Build Coastguard WorkerRFC5034
12*6236dae4SAndroid Build Coastguard Worker</keywords>
13*6236dae4SAndroid Build Coastguard Worker</info>
14*6236dae4SAndroid Build Coastguard Worker
15*6236dae4SAndroid Build Coastguard Worker#
16*6236dae4SAndroid Build Coastguard Worker# Server-side
17*6236dae4SAndroid Build Coastguard Worker<reply>
18*6236dae4SAndroid Build Coastguard Worker<servercmd>
19*6236dae4SAndroid Build Coastguard WorkerAUTH DIGEST-MD5 PLAIN
20*6236dae4SAndroid Build Coastguard WorkerREPLY "AUTH DIGEST-MD5" + Rubbish
21*6236dae4SAndroid Build Coastguard WorkerREPLY * -ERR AUTH exchange cancelled by client
22*6236dae4SAndroid Build Coastguard WorkerREPLY "AUTH PLAIN" +
23*6236dae4SAndroid Build Coastguard WorkerREPLY AHVzZXIAc2VjcmV0 +OK Login successful
24*6236dae4SAndroid Build Coastguard Worker</servercmd>
25*6236dae4SAndroid Build Coastguard Worker<data>
26*6236dae4SAndroid Build Coastguard WorkerFrom: me@somewhere
27*6236dae4SAndroid Build Coastguard WorkerTo: fake@nowhere
28*6236dae4SAndroid Build Coastguard Worker
29*6236dae4SAndroid Build Coastguard Workerbody
30*6236dae4SAndroid Build Coastguard Worker
31*6236dae4SAndroid Build Coastguard Worker--
32*6236dae4SAndroid Build Coastguard Worker  yours sincerely
33*6236dae4SAndroid Build Coastguard Worker</data>
34*6236dae4SAndroid Build Coastguard Worker</reply>
35*6236dae4SAndroid Build Coastguard Worker
36*6236dae4SAndroid Build Coastguard Worker#
37*6236dae4SAndroid Build Coastguard Worker# Client-side
38*6236dae4SAndroid Build Coastguard Worker<client>
39*6236dae4SAndroid Build Coastguard Worker<server>
40*6236dae4SAndroid Build Coastguard Workerpop3
41*6236dae4SAndroid Build Coastguard Worker</server>
42*6236dae4SAndroid Build Coastguard Worker<features>
43*6236dae4SAndroid Build Coastguard Worker!SSPI
44*6236dae4SAndroid Build Coastguard WorkerDebug
45*6236dae4SAndroid Build Coastguard Workercrypto
46*6236dae4SAndroid Build Coastguard Worker</features>
47*6236dae4SAndroid Build Coastguard Worker<name>
48*6236dae4SAndroid Build Coastguard WorkerPOP3 DIGEST-MD5 authentication with SASL downgrade
49*6236dae4SAndroid Build Coastguard Worker</name>
50*6236dae4SAndroid Build Coastguard Worker<command>
51*6236dae4SAndroid Build Coastguard Workerpop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret
52*6236dae4SAndroid Build Coastguard Worker</command>
53*6236dae4SAndroid Build Coastguard Worker</client>
54*6236dae4SAndroid Build Coastguard Worker
55*6236dae4SAndroid Build Coastguard Worker#
56*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
57*6236dae4SAndroid Build Coastguard Worker<verify>
58*6236dae4SAndroid Build Coastguard Worker<protocol>
59*6236dae4SAndroid Build Coastguard WorkerCAPA
60*6236dae4SAndroid Build Coastguard WorkerAUTH DIGEST-MD5
61*6236dae4SAndroid Build Coastguard Worker*
62*6236dae4SAndroid Build Coastguard WorkerAUTH PLAIN
63*6236dae4SAndroid Build Coastguard WorkerAHVzZXIAc2VjcmV0
64*6236dae4SAndroid Build Coastguard WorkerRETR %TESTNUMBER
65*6236dae4SAndroid Build Coastguard WorkerQUIT
66*6236dae4SAndroid Build Coastguard Worker</protocol>
67*6236dae4SAndroid Build Coastguard Worker</verify>
68*6236dae4SAndroid Build Coastguard Worker</testcase>
69