summaryrefslogtreecommitdiff
path: root/trust/trust-extract-compat.in
diff options
context:
space:
mode:
authorStef Walter <stefw@redhat.com>2016-11-29 13:30:55 +0100
committerStef Walter <stefw@redhat.com>2016-11-29 13:32:23 +0100
commit561ee23f218c7a68a2ef46525502f978e56fc1bb (patch)
tree8deb8569f109a0e9dea11736f56ad5e47f42dc11 /trust/trust-extract-compat.in
parenta96f354c3068edb6c8ac80ae6d9a6611651145d7 (diff)
downloadp11-kit-master.tar.gz
MOVED TO: https://github.com/p11-glue/p11-kitHEADmaster
This repository has moved to GitHub to allow further contributions and more flexibility who can merge changes. More details here: https://lists.freedesktop.org/archives/p11-glue/2016-November/000626.html
Diffstat (limited to 'trust/trust-extract-compat.in')
-rwxr-xr-xtrust/trust-extract-compat.in32
1 files changed, 0 insertions, 32 deletions
diff --git a/trust/trust-extract-compat.in b/trust/trust-extract-compat.in
deleted file mode 100755
index 9b46055..0000000
--- a/trust/trust-extract-compat.in
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-# This script is a placeholder designed to be replaced when this software
-# has been customized for distribution. It should be symlinked linked to the
-# distribution's update-ca-certificates or update-ca-trust command as
-# appropriate. In the future this script will be called when the PKCS#11
-# trust module is used to modifiy trust anchors and related data.
-
-if [ $# -ne 0 ]; then
- echo "usage: trust extract-compat" >&2
- exit 2
-fi
-
-uid=$(id -u)
-if [ "$uid" != 0 ]; then
- echo "trust: running as non-root user: skip extracting compat bundles" >&2
- exit 0
-fi
-
-echo "trust: the placeholder extract-compat command has not been customized by your distribution." >&2
-
-# You can use commands like this to extract data from trust modules
-# into appropriate locations for your distribution.
-#
-# trust extract --format=openssl-bundle --filter=ca-anchors \
-# --overwrite /tmp/openssl-bundle.pem
-# trust extract --format=pem-bundle --filter=ca-anchors --overwrite \
-# --purpose server-auth /tmp/server-auth-bundle.pem
-# trust extract --format=java-cacerts --filter=ca-anchors --overwrite \
-# --purpose server-auth /tmp/cacerts
-
-exit 1