quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

test4001 (673B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 ECH try real and fail
      5 </keywords>
      6 </info>
      7 
      8 #
      9 # Server-side
     10 <reply>
     11 </reply>
     12 
     13 #
     14 # Client-side
     15 <client>
     16 <features>
     17 ECH
     18 </features>
     19 <server>
     20 https
     21 </server>
     22 <name>
     23 Make real ECH attempt and fail with "ech required" error (101)
     24 </name>
     25 # Using '-k' over '--insecure' to also test the short form
     26 <command>
     27 --ech ecl:AEv+DQBHdAAgACCCU49qdxKOUXJPs3wlsM06v/t42sMH5xQOL37MAd3HaAAEAAEAAQAYb3RoZXJwdWJsaWMudGVzdC5kZWZvLmllAAA= -k https://%HOSTIP:%HTTPSPORT/%TESTNUMBER
     28 </command>
     29 </client>
     30 
     31 #
     32 # Verify data after the test has been "shot"
     33 <verify>
     34 <errorcode>
     35 %if !wolfssl
     36 %if !rustls
     37 101
     38 %else
     39 35
     40 %endif
     41 %else
     42 35
     43 %endif
     44 </errorcode>
     45 </verify>
     46 </testcase>