tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

generate_keyring.sh (998B)


      1 #!/bin/bash
      2 # Copyright 2019 The Chromium Authors
      3 # Use of this source code is governed by a BSD-style license that can be
      4 # found in the LICENSE file.
      5 
      6 set -o nounset
      7 set -o errexit
      8 
      9 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
     10 
     11 KEYS=(
     12    # Debian Archive Automatic Signing Key (12/bookworm)
     13    "6ED0E7B82643E131"
     14    # Debian Stable Release Key (12/bookworm)
     15    "F8D2585B8783D481"
     16    # Debian Archive Automatic Signing Key (11/bullseye)
     17    "73A4F27B8DD47936"
     18    # Debian Security Archive Automatic Signing Key (11/bullseye)
     19    "A48449044AAD5C5D"
     20    # Debian Stable Release Key (11/bullseye)
     21    "605C66F00D6C9793"
     22    # Debian Stable Release Key (10/buster)
     23    "DCC9EFBF77E11517"
     24    # Debian Archive Automatic Signing Key (10/buster)
     25    "DC30D7C23CBBABEE"
     26    # Debian Security Archive Automatic Signing Key (10/buster)
     27    "4DFAB270CAA96DFA"
     28 )
     29 
     30 gpg --keyserver keyserver.ubuntu.com --recv-keys ${KEYS[@]}
     31 gpg --output "${SCRIPT_DIR}/keyring.gpg" --export ${KEYS[@]}