waxwing, the browser gives you only one cert, which is *this* site's cert, it doesnt give you CA certs
waxwing
dansmith_btc, yes i know
however i clearly saw an example of more than 1 cert
which is in line with the RFC; you have a variable length vector of certs according to the spec
certs len (3 bytes), [cert1 len (3 bytes), cert1, cert2 len(3 bytes), cert2...]
plus see what i wrote above from 7.4.2
dansmith_btc
i always those are simply certs of the CA higher up in the chain all the way to the root CA. there's always only 1 cert for the server in the Cert TLS msg.
*always thought
waxwing
dansmith_btc, my best theory (although too busy to investigate) is that, according to the language in the rfc there, a site decides to create a sub-cert of its own cert and delivers that one, along with the one that certifies it.
that kind of makes sense i think
bottom line if browser says it's ok, we only need to check it's the same. seems reasonable?
oakpacific has quit
dansmith_btc, am i right in saying that in the via-crypto-js execution path, we're not MAC-checking the server finished here?
no, aesjs only decrypts html (aesjs does a mac check internally), server finished is still being done somewhere with slowaes, waxwing
waxwing
somewhere? the server finished mac check that i wrote is done in process_server_app_data_records.
dansmith_btc
sry, im confusing things
aesjs doesnt do mac check. still, server finished is done with slowaes
waxwing
but where? i only did that check in process_server_app_data_records, did you do it somewhere else? dansmith_btc
dansmith_btc
process_server_ccs_finished
ok, i finally see what u mean :)
waxwing
no biggie, i just wanted to sanity check. i'm redoing it now, i'll just make check_finished a separate small function and call it before the fork between slowaes and js
yeah it's confusing that there are two separate checks - checking the verify data, and checking the mac
oakpacific joined the channel
belcher joined the channel
belcher has quit
belcher joined the channel
belcher has quit
belcher joined the channel
waxwing joined the channel
oakpacific
belcher: hi
belcher
hey
oakpacific
any plan for christmas?
belcher
spend time with family
and code
see friends
usual stuff
im about to start coding now
listening to some stuff i found on soundcloud though
oakpacific
speaking of that, are you from a catholic or orthodox balkan country