[Git][java-team/ca-certificates-java][master] 2 commits: Fix the bogus comparison due to a bashism

Bastien Roucariès (@rouca) gitlab at salsa.debian.org
Tue Feb 24 20:14:19 GMT 2026



Bastien Roucariès pushed to branch master at Debian Java Maintainers / ca-certificates-java


Commits:
52d81946 by Arnaud Rebillout at 2026-02-24T21:11:13+01:00
Fix the bogus comparison due to a bashism

- - - - -
425242c0 by Bastien Roucariès at 2026-02-24T21:14:01+01:00
Add changelog entry

- - - - -


2 changed files:

- debian/ca-certificates-java.postinst
- debian/changelog


Changes:

=====================================
debian/ca-certificates-java.postinst
=====================================
@@ -203,7 +203,7 @@ if [ "$1" = "configure" ]; then
 
 	if dpkg --compare-versions "$2" lt-nl "20180516"; then
 		if [ -e /etc/ssl/certs/java/cacerts ] && \
-			[ "$(head -c4 /etc/ssl/certs/java/cacerts)" != "$(echo -en '\xfe\xed\xfe\xed')" ]; then
+			[ "$(head -c4 /etc/ssl/certs/java/cacerts | od -A n -t x1 | tr -d ' ')" != "feedfeed" ]; then
 			touch /var/lib/ca-certificates-java/convert_pkcs12_keystore_to_jks
 		fi
 	fi


=====================================
debian/changelog
=====================================
@@ -1,6 +1,15 @@
 ca-certificates-java (20250801) UNRELEASED; urgency=medium
 
+  * Team upload
+
+  [ Bastien Roucariès ]
+
   * Enable salsa-ci
+  * harden logic for pkcs12 conversion
+
+  [ Arnaud Rebillout ]
+
+  * Fix conversion from pkcs12 that fail due to bashism
 
  -- Bastien Roucariès <rouca at debian.org>  Fri, 01 Aug 2025 19:09:25 +0200
 



View it on GitLab: https://salsa.debian.org/java-team/ca-certificates-java/-/compare/bb7b99c055a9b1bc3affc41b93b6bccc992b9e29...425242c0dd77fef42029e2ae285b8ef3268dec1b

-- 
View it on GitLab: https://salsa.debian.org/java-team/ca-certificates-java/-/compare/bb7b99c055a9b1bc3affc41b93b6bccc992b9e29...425242c0dd77fef42029e2ae285b8ef3268dec1b
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20260224/dc7b677c/attachment.htm>


More information about the pkg-java-commits mailing list