lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | POP3 |
| 5 | SASL |
| 6 | SASL AUTH DIGEST-MD5 |
| 7 | SASL CANCELLATION |
| 8 | RFC1734 |
| 9 | RFC2831 |
| 10 | RFC5034 |
| 11 | </keywords> |
| 12 | </info> |
| 13 | |
| 14 | # |
| 15 | # Server-side |
| 16 | <reply> |
| 17 | <servercmd> |
| 18 | AUTH DIGEST-MD5 |
| 19 | REPLY AUTH + Rubbish |
| 20 | REPLY * -ERR AUTH exchange cancelled by client |
| 21 | </servercmd> |
| 22 | </reply> |
| 23 | |
| 24 | # |
| 25 | # Client-side |
| 26 | <client> |
| 27 | <server> |
| 28 | pop3 |
| 29 | </server> |
| 30 | <features> |
| 31 | !SSPI |
| 32 | debug |
| 33 | crypto |
| 34 | </features> |
| 35 | <name> |
| 36 | POP3 DIGEST-MD5 graceful cancellation |
| 37 | </name> |
| 38 | <command> |
| 39 | pop3://%HOSTIP:%POP3PORT/878 -u user:secret |
| 40 | </command> |
| 41 | </client> |
| 42 | |
| 43 | # |
| 44 | # Verify data after the test has been "shot" |
| 45 | <verify> |
| 46 | # 67 - CURLE_LOGIN_DENIED |
| 47 | <errorcode> |
| 48 | 67 |
| 49 | </errorcode> |
| 50 | # |
| 51 | # The multi interface considers a broken "CONNECT" as a prematurely broken |
| 52 | # transfer and such a connection will not get a "QUIT" |
| 53 | <protocol> |
| 54 | CAPA
|
| 55 | AUTH DIGEST-MD5
|
| 56 | *
|
| 57 | </protocol> |
| 58 | </verify> |
| 59 | </testcase> |