File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test879
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>