Re: RFC7512 PKCS#11 URI support
Hubert Kario <[email protected]>
| Newsgroups | gmane.comp.mozilla.crypto |
|---|---|
| Message-ID | <[email protected]> |
On Monday 04 April 2016 12:17:08 Ryan Sleevi wrote: > On Mon, Apr 4, 2016 at 11:32 AM, David Woodhouse <[email protected]> wrote: > > Do you even have a way for a nickname to be entered in text form, > > such that you could "maliciously" be given a PKCS#11 URI instead of > > the normal "token:nickname" form? Perhaps a user could edit a > > config file? Or is it *all* selected via a GUI, as far as the user > > is concerned? > David, > > Let's work back from first principals, because you're being > self-contradictory in replies. > > As you yourself note, this change would mean that any time an > application can be introduced a "nickname" from some source (whether > an API, a configuration file, a command-line flag) suddenly has a new > semantic structure to the nickname over the present NSS. > > You present this as a positive change - all NSS using applications > don't need to change. I've tried, repeatedly, to explain to you how > that is an observable API difference. It means that nicknames supplied > (again, whatever the API) now have additional structure and form. > > Your justification seems to be that because you can't imagine my > application doing it, I shouldn't be concerned. But just re-read the > above and you can see how it affects every application - there's now a > new structure and form, and that changes how applications deal with > the API (*especially* if they did anything with that configuration > flag, which, under present NSS, is perfectly legal) > > Your change has observable differences. It breaks the API. Thus, it > makes sense to introduce a new API. An application cannot safely > assume it will 'just work' if your change was integrated - instead, > authors would need to audit every API call they interact with > nicknames from any source *other* than direct NSS calls, and see if > they're affected. > > That's simply not an appropriate way to handle API changes. I'm sorry Ryan, but I also don't see how this would break API. Stuff that didn't work previously and now will work is not something I would consider API or ABI break. I see David argumentation as completely valid and correct - this is acceptable change. -- 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 iQIcBAABCgAGBQJXA6OsAAoJEJKo0bgB0vX1bEAP/2Emz9AeV7Lzw2gxzcHLogxG 08UIGBcL5VO+1J3CujJXyPlPDfWPdiPAKjqi+uMqY9vvxu7Z0IHWWmZK+uccoYvl TL3YC4SqiDOAnTQvkwn9XMFGh6og8/GWixq16uXQ6+uJD/gMeemic54g6FpcL7Hg 5E3FARwt7lU6kuHGfabbrO9sHFNu7+TZQWBhVGUowYVFcge8e2pbRZU6+PBw5G+E FesaNTmPkweuzJa4IMMnKEaj0Di1Q3eQhdWkjY0irsc5MdW8aVMVtco6UZQV+P2e 0E5sEP8Wv8q2SUWyUFRF3DcY1fEGppa+kZGGfU/VUSCsfa7R9oeXla3yiqq1s9kw se1m005LoRQkwAjPOjXmQZdrkkPwCgYAL+fBSA+fJJ+iP2IHP2DPIDHr4uAbzlI2 fC1TgD35QKU0k6N4ri5L7QwES9aJaezdQbNlPVXNPzcN4kc9mrjEDYll03CG7yvp BntjOzA/4eJMjjea5VgzIC+sJE/Ej2iHcxfa0GW1GSSSsxM8zRFCdvFBO6q9BL7o i2wR/I1/Qak+GkIDbNMcOp8FdxRjikqE6pmLbRKQIh8zfKQpvLL3+2aeKz+AZcIQ 0lOXQPsSAjMSziDD1m4T9vkzd6CGr3E44JabREwLY6YMetecnt/Adv+t220n5vjq Hc22yQmvjg8NTnjcCe0X =dPlq -----END PGP SIGNATURE-----