[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Pki-devel] [PATCH] 814 Removed PKCS #7 from add user cert dialog in TPS UI.



The dialog box for adding user certificate in TPS UI has been
modified to no longer mention PKCS #7. The REST service itself
still accepts PKCS #7, but it should be cleaned up in the future.

https://fedorahosted.org/pki/ticket/2437

Pushed to master (10.4) under one-liner/trivial rule.

--
Endi S. Dewata
>From 891e58abaaee0b5a049089b57e69a36c9ea4da0e Mon Sep 17 00:00:00 2001
From: "Endi S. Dewata" <edewata redhat com>
Date: Fri, 12 Aug 2016 02:23:18 +0200
Subject: [PATCH] Removed PKCS #7 from add user cert dialog in TPS UI.

The dialog box for adding user certificate in TPS UI has been
modified to no longer mention PKCS #7. The REST service itself
still accepts PKCS #7, but it should be cleaned up in the future.

https://fedorahosted.org/pki/ticket/2437
---
 base/server/cms/src/org/dogtagpki/server/rest/UserService.java | 2 ++
 base/tps/shared/webapps/tps/ui/user-certs.html                 | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/base/server/cms/src/org/dogtagpki/server/rest/UserService.java b/base/server/cms/src/org/dogtagpki/server/rest/UserService.java
index 0893c4bed36ed1485f5452085ca66953af4d3b53..1f8e9fa3143866bf018df78f43f7611741c5d8fc 100644
--- a/base/server/cms/src/org/dogtagpki/server/rest/UserService.java
+++ b/base/server/cms/src/org/dogtagpki/server/rest/UserService.java
@@ -863,6 +863,8 @@ public class UserService extends PKIService implements UserResource {
             }
 
             if (cert == null) {
+                // TODO: Remove this code. Importing PKCS #7 is not supported.
+
                 // cert chain direction
                 boolean assending = true;
 
diff --git a/base/tps/shared/webapps/tps/ui/user-certs.html b/base/tps/shared/webapps/tps/ui/user-certs.html
index 049583e97e6bc130e6716069012e9cc2e584584b..04593f346129064cc4dc5d59aef20b7b55e6e3fc 100644
--- a/base/tps/shared/webapps/tps/ui/user-certs.html
+++ b/base/tps/shared/webapps/tps/ui/user-certs.html
@@ -93,7 +93,7 @@
                     <input name="userID" readonly="readonly"><br>
                     <label>Certificate</label>
                     <textarea name="encoded" rows="20" cols="80"></textarea><br>
-                    Enter a PEM certificate or PKCS #7 data.
+                    Enter a PEM certificate.
                 </fieldset>
             </div>
             <div class="modal-footer">
-- 
2.5.5


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]