generate_keyring.sh 1.4 KB

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