Issue metadata
Sign in to add a comment
|
Migrate Push API away from ECPrivateKey::ExportEncryptedPrivateKey |
||||||||||||||||||||||||
Issue descriptionECPrivateKey::ExportPrivateKey is a much more sensible serialization and doesn't involve a dummy encrypt/decrypt step. That was an NSS legacy weirdness which we are now rid of. (Assigning to peter@ per issue #603319 .)
,
Jul 5 2016
Yes, the crazy "encrypted" format depends on the PKCS#8 PrivateKeyInfo serialization anyway. It is a strictly better format in every way.
,
Jul 5 2016
(The only reason you all are using the crazy format at all is because there was some worry you'd ship this for iOS. In hindsight, this seems to have been a mistake as even iOS is on BoringSSL now and I assume WKWebView does indeed make shipping this prohibitive.)
,
Jul 5 2016
I'm aware :). I'll send you a patch at some point this week or next. Is there a timeline for the removal of ExportEncryptedPrivateKey? We'll definitely want an upgrade path in place for a release or two before removing it.
,
Jul 5 2016
No particular timeline on my end. I figured we'd get everything migrated over and then figure that out.
,
Sep 22 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/b5845fae136bddf795c8b91f49753beddd1134dd commit b5845fae136bddf795c8b91f49753beddd1134dd Author: David Benjamin <davidben@chromium.org> Date: Fri Sep 22 16:37:58 2017 Stop filling in public_key_x509. This field dates to NSS legacy works on ECPrivateKey import. The BoringSSL port ignores it. As of M51, all platforms use BoringSSL, so it hasn't been used for a while. (Moreover, gcm_driver was first used in M50, at which point only iOS used NSS.) This does not fully remove the NSS legacy from components/gcm_driver, but simplifies things slightly. (It should use the usual more efficient encoding rather than the empty-password "encrypted" one.) Bug: 618025 Change-Id: I62349b2dcdc276e56a4d7dcf69db5db564a41868 Reviewed-on: https://chromium-review.googlesource.com/667659 Commit-Queue: David Benjamin <davidben@chromium.org> Reviewed-by: Peter Beverloo <peter@chromium.org> Cr-Commit-Position: refs/heads/master@{#503765} [modify] https://crrev.com/b5845fae136bddf795c8b91f49753beddd1134dd/components/gcm_driver/crypto/gcm_crypto_test_helpers.cc [modify] https://crrev.com/b5845fae136bddf795c8b91f49753beddd1134dd/components/gcm_driver/crypto/gcm_key_store.cc [modify] https://crrev.com/b5845fae136bddf795c8b91f49753beddd1134dd/components/gcm_driver/crypto/p256_key_util.cc [modify] https://crrev.com/b5845fae136bddf795c8b91f49753beddd1134dd/components/gcm_driver/crypto/p256_key_util.h [modify] https://crrev.com/b5845fae136bddf795c8b91f49753beddd1134dd/components/gcm_driver/crypto/p256_key_util_unittest.cc [modify] https://crrev.com/b5845fae136bddf795c8b91f49753beddd1134dd/components/gcm_driver/crypto/proto/gcm_encryption_data.proto
,
Jan 5 2018
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by peter@chromium.org
, Jul 5 2016