Blumenthal, Uri | 1 Jan 2008 02:42
Picon

Re: Issue 66: HMAC-256 based ciphersuites

I am for adding SHA256-based suites. We want to phase SHA1 out and phase its probable replacement in.

SHA1 did exhibit some weaknesses. and we hardly want to wait and see whether they will turn into exploits some day.


On 12/31/07 5:49 PM, "Eric Rescorla" <ekr <at> networkresonance.com> wrote:

Someone, I can't remember who, suggested that we add
HMAC-SHA256-based ciphersuites (i.e., ones that use it as a message
MAC) directly in TLS 1.2. I'm waffling as to whether it's a good
idea.

Arguments for:

- We made it the default for the PRF.
- It's weird to to to all this trouble and not define them.


Arguments against:
- There's nothing known wrong with HMAC-SHA1
- This revision is about flexibility, not actually adding new
  digests.

Comments?

-Ekr


_______________________________________________
TLS mailing list
TLS <at> lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



--
Regards,
Uri

_______________________________________________
TLS mailing list
TLS <at> lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls
Nikos Mavrogiannopoulos | 1 Jan 2008 12:17

Re: Issue 66: HMAC-256 based ciphersuites

One more argument for adding those ciphersuites, is that they allow increasing the security level of a connection to more than 128 bits. Now the weakest link in a TLS session seems to be the HMAC, if all the other parameters are negotiated using a 256 bit equivalent security.

Although 256-bit security level might seem too much, I'd note that we already have AES-256.

On Jan 1, 2008 12:49 AM, Eric Rescorla < ekr <at> networkresonance.com> wrote:
Someone, I can't remember who, suggested that we add
HMAC-SHA256-based ciphersuites (i.e., ones that use it as a message
MAC) directly in TLS 1.2. I'm waffling as to whether it's a good
idea.

Arguments for:

- We made it the default for the PRF.
- It's weird to to to all this trouble and not define them.


Arguments against:
- There's nothing known wrong with HMAC-SHA1
- This revision is about flexibility, not actually adding new
 digests.

Comments?

-Ekr


_______________________________________________
TLS mailing list
TLS <at> lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls

_______________________________________________
TLS mailing list
TLS <at> lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls
Pasi.Eronen | 4 Jan 2008 10:15
Picon

RE: Status of IDEA

Hovav Shacham wrote:

> Weighing in late, I support "MUST NOT."  The conservative
> interpretation of an absence of extensive studies of a block cipher
> is that the security of that cipher cannot be relied upon.  And
> there is no reason now to prefer IDEA to AES.  I think "MUST NOT"
> will do the best job of steering implementations towards
> known-secure cipher suites.

IMHO "MUST NOT" is totally inappropriate mechanism for conveying
opinions about the amount and/or quality of security reviews done for 
some particular algorithm. (RFC 2119 also gives guidance that MUSTs 
must be used sparingly.)

While most folks will indeed prefer AES over anything else, the
reasons why people prefer one algorithm over another vary. E.g.,
presumably more people have looked at AES than Camellia (RFC 4132) 
or SEED (RFC 4162), but some folks may be perfectly happy with
the reviews those latter two have received (and may have other
reasons for preferring them).

Best regards,
Pasi
Pasi.Eronen | 4 Jan 2008 12:21
Picon

RE: Including Cert. Practice Statement in issued SSL

David P. Kemp wrote:

> The fact that policies are useless in general does not
> contradict the fact that the point of the extension is to
> convey useful information.  *IF* there were standardized
> policies that 100+ trust anchors followed (e.g., Policy A =
> in-person registration with 2 forms of ID and private key
> on a hardware token, Policy B = software cert issued to
> anyone with an email account), then the extension would
> be useful.  

Isn't this basically what the "Extended validation certificates" 
work is about? (standardizing a consistent policy to be followed
by large number of CAs, and having the browser to display something 
different if that policy was used)

(Although some folks have questioned how much this will
actually prevent phishing, giving the tendency of users to
ignore security-related browser warnings etc. Any conference
about security and usability probably has papers about this.)

Best regards,
Pasi
Blumenthal, Uri | 4 Jan 2008 18:03
Picon

Re: Status of IDEA

IMHO, there are several reasons not to use IDEA – some are security-related and some aren’t - and to make sure that standard-compliant implementations avoid using this algorithm (and the surest way to avoid using is not implementing).

IMHO in IETF lingo “MUST NOT” conveys this meaning.


On 1/4/08 4:15 AM, "Pasi.Eronen <at> nokia.com" <Pasi.Eronen <at> nokia.com> wrote:

Hovav Shacham wrote:

> Weighing in late, I support "MUST NOT."  The conservative
> interpretation of an absence of extensive studies of a block cipher
> is that the security of that cipher cannot be relied upon.  And
> there is no reason now to prefer IDEA to AES.  I think "MUST NOT"
> will do the best job of steering implementations towards
> known-secure cipher suites.

IMHO "MUST NOT" is totally inappropriate mechanism for conveying
opinions about the amount and/or quality of security reviews done for
some particular algorithm. (RFC 2119 also gives guidance that MUSTs
must be used sparingly.)

While most folks will indeed prefer AES over anything else, the
reasons why people prefer one algorithm over another vary. E.g.,
presumably more people have looked at AES than Camellia (RFC 4132)
or SEED (RFC 4162), but some folks may be perfectly happy with
the reviews those latter two have received (and may have other
reasons for preferring them).

Best regards,
Pasi


_______________________________________________
TLS mailing list
TLS <at> lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls



--
Regards,
Uri

_______________________________________________
TLS mailing list
TLS <at> lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls
Pasi.Eronen | 7 Jan 2008 08:18
Picon

RE: SIV Ciphersuites for TLS

Some general comments, mostly repeating things said at the 
Vancouver meeting:

- Being resistant to nonce misuse is indeed a good idea in some
environments (where spec writers and/or implementors may not fully
understand the situation), it doesn't seem very important in TLS.
TLS always derives fresh keys, so the opportunities for getting things
wrong are rather limited. 

- Certainly an application writer doesn't have to understand the
nuances of nonce management -- that's the job of the TLS library (and
an application programmer who doesn't understand crypto shouldn't
implement his/her own TLS library anyway -- there are many other
things he/she will get wrong.)

- If we're concerned with implementation errors in the TLS library
itself (and think that SIV is harder to get wrong than GCM), we
already have cipher suites which are pretty good in this regard (i.e.,
possibly harder to get wrong than GCM): the CBC mode cipher suites, 
which have the advantage that everyone implements them already (i.e., 
no new code needed, thus less opportunities for new bugs).

- While the SIV mode has slightly smaller per-packet overhead than 
CBC mode, it's also slower to compute than GCM. So if CBC is good
enough for almost everyone, and those requiring high performance
use GCM, what's the environment where SIV would be good?
(The obvious answer "those who want small per-packet overhead, 
don't care about computational costs, and don't trust implementors 
to get GCM right" IMHO seems rather marginal.)

Best regards,
Pasi

> -----Original Message-----
> From: ext Dan Harkins [mailto:dharkins <at> lounge.org] 
> Sent: 21 December, 2007 20:48
> To: tls <at> ietf.org
> Subject: [TLS] SIV Ciphersuites for TLS
> 
> 
>   Greetings,
> 
>   I presented the document RSA AES-SIV Ciphersuites for TLS at the
> last meeting in Vancouver. It is my hope that this document would be
> accepted as a WG document and solicit more review and comments from
> everyone here. The document can be found at:
> 
> http://www.ietf.org/internet-drafts/draft-harkins-tls-rsa-aes-
> siv-00.txt
> 

>   Since this email is arriving in the midst of a discussion to drop
> support for another cipher-suite I would like to explain why this
> one should be added: SIV is an AEAD mode that is resistant to nonce
> misuse (unlike other counter-mode constructs like GCM) and is
> therefore well-suited for cases where an application writer, who may
> not understand the cryptographic nuances of nonce management for
> other cipher-suites, obtains TLS services for his application by
> linking to an external library.
> 
>   Please take a look and send comments.
> 
>   regards,
> 
>   Dan.
Pasi.Eronen | 7 Jan 2008 08:25
Picon

ECDHE_PSK as WG item?

<wg chair hat on>

Mohammad Badra has requested that the TLS WG adopt
draft-badra-ecdhe-tls-psk as a WG item. This draft was presented 
in Vancouver, but few comments have been received so far.

Please use this thread to comment; not only the technical
details, but whether you think this is useful; should it be
done as WG item or individual document; and whether you're
willing to work on this document.

Best regards,
Pasi
Martin Rex | 7 Jan 2008 14:22
Picon
Favicon

Re: Status of IDEA

Pasi.Eronen <at> nokia.com wrote:
> 
> IMHO "MUST NOT" is totally inappropriate mechanism for conveying
> opinions about the amount and/or quality of security reviews done for 
> some particular algorithm. (RFC 2119 also gives guidance that MUSTs 
> must be used sparingly.)

I also think that "MUST NOT implement" for IDEA ciphersuites is entirely
inappropriate.  Lacking a convincing reason, I believe that even
"MUST NOT negotiate for TLS v1.2" for the IDEA ciphersuites would
be inappropriate.

> 
> While most folks will indeed prefer AES over anything else, the
> reasons why people prefer one algorithm over another vary. E.g.,
> presumably more people have looked at AES than Camellia (RFC 4132) 
> or SEED (RFC 4162), but some folks may be perfectly happy with
> the reviews those latter two have received (and may have other
> reasons for preferring them).

There are many more crypto algorithms that are uncommon (Gost, CAST,
*fish and other participants of the AES contest.  Reasons for their
use in certain environments are manyfold, including legacy, licensing
and political.  I can not see a compelling reason why IDEA should
be treated any different than the others.

-Martin
Blumenthal, Uri | 7 Jan 2008 17:06
Picon

Re: ECDHE_PSK as WG item?

I strongly believe that ECDHE-PSK is useful and should be done as a WG item. Technical comments will follow.

Tnx!
--
Regards,
Uri

On 1/7/08 2:25 AM, "Pasi.Eronen <at> nokia.com" <Pasi.Eronen <at> nokia.com> wrote:

<wg chair hat on>

Mohammad Badra has requested that the TLS WG adopt
draft-badra-ecdhe-tls-psk as a WG item. This draft was presented
in Vancouver, but few comments have been received so far.

Please use this thread to comment; not only the technical
details, but whether you think this is useful; should it be
done as WG item or individual document; and whether you're
willing to work on this document.

Best regards,
Pasi


_______________________________________________
TLS mailing list
TLS <at> lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls




_______________________________________________
TLS mailing list
TLS <at> lists.ietf.org
https://www1.ietf.org/mailman/listinfo/tls
Dan Harkins | 8 Jan 2008 08:22

RE: SIV Ciphersuites for TLS


  Hi Pasi,

  Thank you very much for your comments on my draft. A few comments on
your comments.

  Deriving a fresh key is not the issue, it's whether one can
guarantee that a nonce will never be misused for a given (fresh) key.

  The other thing I will take issue with is your statement that nonce
management is "the job of the TLS library". That very much depends
on the TLS library. The API to call AES in CBC mode in OpenSSL takes
an IV from the caller-- i.e. the application programmer. Now I can't say
what a call to AES in GCM mode will take since I don't have an OpenSSL
library that implements TLS1.2 but given the way the library is constructed
and used today it is entirely reasonable to assume that nonce management
will be in the hands of the application programmer and not inside the
cryptographic engine.

  I will note that for those of you that are worried about FIPS you should
already know that anything that has cryptographic relevance is deemed to be
inside the cryptographic boundary. For GCM the nonce is _highly_ relevant.
That can automatically pull in large chunks of code which otherwise would
not have been inside the cryptographic boundary: CLI, web browser, etc. For
SIV the nonce is not relevant as security is maintained even when the nonce
is misused or reused. Using an SIV-based cipher suite would allow
applications that really aren't cryptographically relevant but may be
forced to manage nonce space to be outside of a FIPS 140 cryptographic
boundary. That can be very beneficial when one considers bug fixing in
things like a web browser: does it require another trip to the FIPS
validation laboratory (and several months) or a letter (and a few weeks)
before we can release the next version of FIPS-validated software.

  When GCM becomes widely used in TLS there is a HUGE assumption being made.
The entire security of a scheme using GCM depends on one thing that we are
just blithely stating will not happen. It's not really coding errors per se,
it's an honest attempt to use a library by someone who is just not aware
of the nuances surrounding the creation and management of a variable under
his or her control. Type "man crypto"..."man aes"...note arguments...
create data that does not return an error...on to next coding task. Ship it!

  Having a system that does not lose all security in the presence of
unintentional coding errors, unintentional misconfiguration, or intentional
stupidity or malfeasance would, in my opinion, be a big benefit. But you
said that benefit seems marginal to you and the silence of the rest of the
list has been noticed.

  best regards,

  Dan.

On Sun, January 6, 2008 11:18 pm, Pasi.Eronen <at> nokia.com wrote:
> Some general comments, mostly repeating things said at the
> Vancouver meeting:
>
> - Being resistant to nonce misuse is indeed a good idea in some
> environments (where spec writers and/or implementors may not fully
> understand the situation), it doesn't seem very important in TLS.
> TLS always derives fresh keys, so the opportunities for getting things
> wrong are rather limited.
>
> - Certainly an application writer doesn't have to understand the
> nuances of nonce management -- that's the job of the TLS library (and
> an application programmer who doesn't understand crypto shouldn't
> implement his/her own TLS library anyway -- there are many other
> things he/she will get wrong.)
>
> - If we're concerned with implementation errors in the TLS library
> itself (and think that SIV is harder to get wrong than GCM), we
> already have cipher suites which are pretty good in this regard (i.e.,
> possibly harder to get wrong than GCM): the CBC mode cipher suites,
> which have the advantage that everyone implements them already (i.e.,
> no new code needed, thus less opportunities for new bugs).
>
> - While the SIV mode has slightly smaller per-packet overhead than
> CBC mode, it's also slower to compute than GCM. So if CBC is good
> enough for almost everyone, and those requiring high performance
> use GCM, what's the environment where SIV would be good?
> (The obvious answer "those who want small per-packet overhead,
> don't care about computational costs, and don't trust implementors
> to get GCM right" IMHO seems rather marginal.)
>
> Best regards,
> Pasi
>
>> -----Original Message-----
>> From: ext Dan Harkins [mailto:dharkins <at> lounge.org]
>> Sent: 21 December, 2007 20:48
>> To: tls <at> ietf.org
>> Subject: [TLS] SIV Ciphersuites for TLS
>>
>>
>>   Greetings,
>>
>>   I presented the document RSA AES-SIV Ciphersuites for TLS at the
>> last meeting in Vancouver. It is my hope that this document would be
>> accepted as a WG document and solicit more review and comments from
>> everyone here. The document can be found at:
>>
>> http://www.ietf.org/internet-drafts/draft-harkins-tls-rsa-aes-
>> siv-00.txt
>>
>
>>   Since this email is arriving in the midst of a discussion to drop
>> support for another cipher-suite I would like to explain why this
>> one should be added: SIV is an AEAD mode that is resistant to nonce
>> misuse (unlike other counter-mode constructs like GCM) and is
>> therefore well-suited for cases where an application writer, who may
>> not understand the cryptographic nuances of nonce management for
>> other cipher-suites, obtains TLS services for his application by
>> linking to an external library.
>>
>>   Please take a look and send comments.
>>
>>   regards,
>>
>>   Dan.
>

Gmane