Hi David,
Thanks for the comments.
1) Use the same media stream. No special transport. Crypto is just
another "optional" attribute of the media description.
A minor question: with your proposal, if the answerer selected "no
encryption", would the media stream use the AVP profile or the SAVP
profile with NULL encryption and NULL authentication?
I am suggesting one media stream with AVP as the transport, regardless
of whether sdescriptions (or potentially other cryptographic/secure
methods) are identified in the SDP. I know this disagrees with
RFC-3711
Section 12 (IANA Considerations), but IMO it is the most
expeditious/practical way forward.
2) Add an encryption attribute (e.g.
"a=encryption=<optional|mandatory>").
I agree that adding something explicit like this would be good. But
I have a nit here: we probably want to choose a term other than
"encryption", since SRTP can provide authentication and not
encryption (in principle anyway - the sdesc spec doesn't include any
cryptosuites that do authentication but not encryption, IIRC). Maybe
"a=secure" would be better.
I'm open to name suggestions, but Snom, Asterisk, and others
already use
the "encryption" attribute in essentially this manner.
Slightly OT: SDP-DH would remove that limitation, so I guess that we
should consider bid-down attacks w.r.t. that protocol.
Agree. Each key exchange method has its own strengths and weaknesses,
and I don't think you're going to find a one-size-fits-all
solution. The
slides presented at the last IETF meeting had a good quick comparison.
Cheers,
Rick