summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2021-05-18 16:32:55 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2021-05-28 14:06:48 -0400
commitf2b207b3aebe298d99810235d97cb120853b051f (patch)
tree9c3a972b106452f34d61a21554385bda5a634c8d /NEWS
parentd2c249054f9abc17352c7a8807de2d7ed847c212 (diff)
downloadgnutls-f2b207b3aebe298d99810235d97cb120853b051f.tar.gz
certtool: order DN components by scale.
DN components are expected to be ordered by scale, with the wire format representing larger-scale components (like country or organization) before smaller-scale components (like state or organizationalUnit). The bulk of the changes here of course are changes to the target certificates in the test suite. Note that a change was necessary in tests/cert-tests/crq.sh because it tests the "interactive" mode of certtool. If any user is scripting certtool in this way, this change will cause a backwards-incompatible break. However, I think this is OK -- the supported scripted/batch mode for certtool should use a template file, and I don't think it's important to maintain a strict api on the interactive mode. The main change here is to order the DN from least-specific-to-most, in particular: country, state, locality, org, orgunit, cn, uid But I've also made an additional arbitrary choice, which is that DC (domain component) comes *after* uid. This was already the case in certificate generation, but in *request* generation, it was the other way around. I've changed request generation to match this ordering from certificate generation. Closes: #1243 Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 86e33edd58..a3a0a1658d 100644
--- a/NEWS
+++ b/NEWS
@@ -26,6 +26,13 @@ See the end for copying conditions.
GNUTLS_NO_IMPLICIT_INIT to reflect the purpose (#1178). The former is now
deprecated and will be removed in the future releases.
+** certtool: When producing certificates and certificate requests, subject DN
+ components that are provided individually will now be ordered by
+ assumed scale (e.g. Country before State, Organization before
+ OrganizationalUnit). This change also affects the order in which
+ certtool prompts interactively. Please rely on the template
+ mechanism for automated use of certtool! (#1243)
+
** API and ABI modifications:
gnutls_early_cipher_get: Added
gnutls_early_prf_hash_get: Added