Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 IMAP
      5 SASL
      6 SASL AUTH DIGEST-MD5
      7 RFC2831
      8 </keywords>
      9 </info>
     10 
     11 #
     12 # Server-side
     13 <reply>
     14 <servercmd>
     15 AUTH DIGEST-MD5
     16 REPLY AUTHENTICATE + cmVhbG09ImN1cmwiLG5vbmNlPSI1MzAwZDE3YTFkNjk1YmQ0MTFlNGNkZjk2Zjk1NDhjMjNjZWQ2MTc1IixhbGdvcml0aG09bWQ1LXNlc3MscW9wPSJhdXRoIg==
     17 REPLY dXNlcm5hbWU9InVzZXIiLHJlYWxtPSJjdXJsIixub25jZT0iNTMwMGQxN2ExZDY5NWJkNDExZTRjZGY5NmY5NTQ4YzIzY2VkNjE3NSIsY25vbmNlPSIzNDMzMzIzMTM0MzMzMjMyMzQzMzMyMzMzNDMzMzIzNCIsbmM9IjAwMDAwMDAxIixkaWdlc3QtdXJpPSJpbWFwL2N1cmwiLHJlc3BvbnNlPWJlYjMzYmY2MWFhMDgzNzZmZWE4ZjJkM2MwODliMjFmLHFvcD1hdXRo +
     18 REPLY  A002 OK AUTHENTICATE completed
     19 </servercmd>
     20 <data>
     21 From: me@somewhere
     22 To: fake@nowhere
     23 
     24 body
     25 
     26 --
     27   yours sincerely
     28 </data>
     29 </reply>
     30 
     31 #
     32 # Client-side
     33 <client>
     34 <server>
     35 imap
     36 </server>
     37 <features>
     38 !SSPI
     39 debug
     40 crypto
     41 </features>
     42  <name>
     43 IMAP DIGEST-MD5 authentication
     44  </name>
     45  <command>
     46 'imap://%HOSTIP:%IMAPPORT/823/;UID=1' -u user:secret
     47 </command>
     48 </client>
     49 
     50 #
     51 # Verify data after the test has been "shot"
     52 <verify>
     53 <protocol>
     54 A001 CAPABILITY
     55 A002 AUTHENTICATE DIGEST-MD5
     56 dXNlcm5hbWU9InVzZXIiLHJlYWxtPSJjdXJsIixub25jZT0iNTMwMGQxN2ExZDY5NWJkNDExZTRjZGY5NmY5NTQ4YzIzY2VkNjE3NSIsY25vbmNlPSIzNDMzMzIzMTM0MzMzMjMyMzQzMzMyMzMzNDMzMzIzNCIsbmM9IjAwMDAwMDAxIixkaWdlc3QtdXJpPSJpbWFwL2N1cmwiLHJlc3BvbnNlPWJlYjMzYmY2MWFhMDgzNzZmZWE4ZjJkM2MwODliMjFmLHFvcD1hdXRo
     57 
     58 A003 SELECT 823
     59 A004 FETCH 1 BODY[]
     60 A005 LOGOUT
     61 </protocol>
     62 </verify>
     63 </testcase>
     64