We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e7127d5 + 403ca7b commit af196d6Copy full SHA for af196d6
os2borgerpc/browser/chrome_disable_post_quantum_key_agreement.sh
@@ -0,0 +1,23 @@
1
+#!/usr/bin/env bash
2
+
3
+set -x
4
5
+if get_os2borgerpc_config os2_product | grep --quiet kiosk; then
6
+ echo "Dette script er ikke designet til at blive anvendt på en kiosk-maskine."
7
+ exit 1
8
+fi
9
10
+ACTIVATE="$1"
11
12
+POLICY_FILE="/etc/opt/chrome/policies/managed/os2borgerpc-post-quantum-key-agreement.json"
13
+mkdir --parents "$(dirname "$POLICY_FILE")"
14
15
+if [ "$ACTIVATE" = "True" ]; then
16
+ cat << EOF > $POLICY_FILE
17
+{
18
+ "PostQuantumKeyAgreementEnabled": false
19
+}
20
+EOF
21
+else
22
+ rm --force $POLICY_FILE
23
0 commit comments