Re: [Pki-devel] [PATCH] Detect inability to submit ECC CSR on Chrome

2016-05-13 Thread John Magne
Saw screen shot,looks fine:

ACK

- Original Message -
From: "Matthew Harmsen" 
To: "pki-devel" 
Sent: Friday, May 13, 2016 3:47:35 PM
Subject: [Pki-devel] [PATCH] Detect inability to submit ECC CSR on Chrome

Please review this "detection" patch for the following ticket: 


* PKI TRAC Ticket #2306 - Chrome Can Not Submit EC Client Cert Requests 


The ticket will not be closed, but simply moved to a later milestone. 


-- Matt 

___
Pki-devel mailing list
Pki-devel@redhat.com
https://www.redhat.com/mailman/listinfo/pki-devel

___
Pki-devel mailing list
Pki-devel@redhat.com
https://www.redhat.com/mailman/listinfo/pki-devel


[Pki-devel] [PATCH] Detect inability to submit ECC CSR on Chrome

2016-05-13 Thread Matthew Harmsen

Please review this "detection" patch for the following ticket:

 * PKI TRAC Ticket #2306 - Chrome Can Not Submit EC Client Cert
   Requests 

The ticket will not be closed, but simply moved to a later milestone.

-- Matt

From 6a8e4cd874c54e5e2aa9bf36622bca8a575c203e Mon Sep 17 00:00:00 2001
From: Matthew Harmsen 
Date: Fri, 13 May 2016 16:41:16 -0600
Subject: [PATCH] Detect inability to submit ECC CSR on Chrome

- PKI TRAC Ticket #2306 - Chrome Can Not Submit EC Client Cert Requests
---
 base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template | 11 +++
 1 file changed, 11 insertions(+)

diff --git a/base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template b/base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template
index 18a0b21..a683867 100644
--- a/base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template
+++ b/base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template
@@ -147,6 +147,11 @@ function getKeyGenDisabledWarning() {
  document.write('');
 }
 
+function getChromeECCSupportWarning() {
+ document.write('  Warning: Currently, this profile is unable to successfully construct an ECC certificate request on Chrome.At this time, please use Firefox to generate ECC certificate requests. ');
+ document.write('');
+}
+
 function getKeyStrengthTableForKeyGen() {
 
   document.writeln("  KeyGen Key Strength InfoKey Type   High Grade   Medium Grade  ");
@@ -871,6 +876,12 @@ for (var m = 0; m < inputPluginListSet.length; m++) {
   getKeyGenDisabledWarning();
 }
 
+if (browserName == "Chrome") {
+  // PKI TRAC Ticket #2306 - Chrome Can Not Submit EC
+  // Client Cert Requests
+  getChromeECCSupportWarning();
+}
+
 getKeyStrengthTableForKeyGen();
 
 var keyTypesOptions = getKeyTypesOptionsForKeyGen();
-- 
1.8.3.1

___
Pki-devel mailing list
Pki-devel@redhat.com
https://www.redhat.com/mailman/listinfo/pki-devel