Re: RFC7512 PKCS#11 URI support

Hubert Kario <[email protected]>
Newsgroups gmane.comp.mozilla.crypto
Message-ID <[email protected]>
On Tuesday 05 April 2016 07:26:56 Ryan Sleevi wrote:
> On Tuesday, April 5, 2016, Hubert Kario <[email protected]> wrote:
> > On Monday 04 April 2016 12:17:08 Ryan Sleevi wrote:
> > > On Mon, Apr 4, 2016 at 11:32 AM, David Woodhouse
> > > <[email protected]
> > 
> > I'm sorry Ryan, but I also don't see how this would break API.
> 
> Does that mean you don't understand the use cases and situations
> outlined? Or that you don't believe they are valid use cases? Because
> those are all very different statements.

No, I believe that I do understand the use cases as outlined by David.
And I'm very much interested in adding the PKCS#11 URI support.

What is unconvincing to me is your arguments against the change.

> > Stuff that didn't work previously and now will work is not something
> > I would consider API or ABI break.
> 
> We have considered such changes multiple times in the past as breaks -
> most typically on Red Hat's request! This is why multiple extensions
> and behaviours are disabled by default in the TLS stack right now,
> even though they are strictly additive. How would you see this as any
> different?

Because this does not affect existing code. When some API didn't support 
one value, but suddenly starts accepting it, it's not an API or ABI 
break.

That's exactly how APIs like SSL_OptionSet() were changed in the past.

Did Red Hat ever say that making SSL_OptionSet() support a new option ID 
was an API or ABI break?

The previous options being disabled by default were like this because 
the change would be visible by default (e.g. a new extension being 
present in Client Hello, likely the only extension in a TLS1.0 hello). 
And that does pose a problem when you have TLS version intolerant and 
TLS extension intolerant servers out there.

PKCS#11 change is invisible for anybody using certificate nicknames that 
do not happen to be also valid PKCS#11 URIs.

If your code can't handle PKCS#11 URIs, then it won't handle it, but it 
won't break any existing workflow, baring stuff like 
https://xkcd.com/1172/ (existing nicknames are PKCS#11 URIs).
-- 
Regards,
Hubert Kario
Senior Quality Engineer, QE BaseOS Security team
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purkyňova 99/71, 612 45, Brno, Czech Republic

-- 
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCgAGBQJXA9KxAAoJEJKo0bgB0vX1X8gQAID8WWcvS6iyOFsPiP/lFhAt
PPZefNf8uY44TS1zBDptVCWoWJGsXBEWJcUVIdzGmorKlN5CuMMH00k/SK3APsBB
BNCa+CBax2mCk7ImO5SBVyPHtNo9a5UC2jzgGRgMXSBAbcXeOZzto6GeAz876XOO
UrpInasR6QSbce2QSxfq5LRdPwQmE5mTX39gkuPD/d2akj9YRO4HQMKiIhlDV/kV
vVMID7Aaa0cFa4IX/h7Beepv7fqNrYkYTbsXWLnM7zRut6sG3mc29JXuVKRytvxR
siIj6bPDfma66yXs/khoKKtIPncKl+0NyupoAiIBM9nh+zaEheerXJKy0mXriSfZ
O2ZikIq2BSR4c4jLYEpNq9wjp+UpN9RDq44LHTARXb4HHiEY+AW7mNtTFx3oZuph
d+yiE26yiDFzu05dtuyjy546xsHrxr0Hv+tj2Hh/3UrKZKgSIJRFXC2bV/cN7DLD
r/EGoauCfMTuAE56X0ny0C4jgHY7D4iGoaBwkAkytsDjqCWQFIv1zD5xm5H2U2gT
WJBjhHcMQWpBn5j8mMtWcAu7tBmq5QwWtf9MCk3kJLfZll9GiS6AB3TGDYdhfORP
V2B9G2gRpjbowLIxSpVB2l0XG9O9gInXk6CjDGFrSc6cE/JHTOlhA1wAUq2ZFCHn
eOD6Qk2UmMQ8r0IXzWmE
=PN8i
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.