Bläddra i källkod

Fix debian key tests

Bob Mottram 7 år sedan
förälder
incheckning
ec48658600
1 ändrade filer med 16 tillägg och 16 borttagningar
  1. 16
    16
      tests/check-apt-key.sh

+ 16
- 16
tests/check-apt-key.sh Visa fil

4
 #---------------------------------------------------------------------------
4
 #---------------------------------------------------------------------------
5
 #"Debian Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>"
5
 #"Debian Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>"
6
 
6
 
7
-STRETCHARCHIVEKEY=" E1CF 20DD FFE4 B89E 8026  58F1 E0B1 1894 F66A EC98"
8
-CHECKTMP=$(apt-key finger | grep -B 1 "Debian Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>" | head -n1 | awk -F '=' '{printf $2}')
7
+STRETCHARCHIVEKEY="E1CF 20DD FFE4 B89E 8026  58F1 E0B1 1894 F66A EC98"
8
+CHECKTMP=$(apt-key finger | grep -B 1 "Debian Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>" | head -n1 | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
9
 
9
 
10
 if [ "$CHECKTMP" == "$STRETCHARCHIVEKEY" ];then
10
 if [ "$CHECKTMP" == "$STRETCHARCHIVEKEY" ];then
11
        echo Good
11
        echo Good
18
 #---------------------------------------------------------------------------
18
 #---------------------------------------------------------------------------
19
 #"Debian Security Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>"
19
 #"Debian Security Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>"
20
 
20
 
21
-STRETCHSECURITYKEY=" 6ED6 F5CB 5FA6 FB2F 460A  E88E EDA0 D238 8AE2 2BA9"
22
-CHECKTMP=$(apt-key finger | grep -B 1 "Debian Security Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>" | head -n1 | awk -F '=' '{printf $2}')
21
+STRETCHSECURITYKEY="6ED6 F5CB 5FA6 FB2F 460A  E88E EDA0 D238 8AE2 2BA9"
22
+CHECKTMP=$(apt-key finger | grep -B 1 "Debian Security Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>" | head -n1 | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
23
 
23
 
24
 if [ "$CHECKTMP" == "$STRETCHSECURITYKEY" ];then
24
 if [ "$CHECKTMP" == "$STRETCHSECURITYKEY" ];then
25
        echo Good
25
        echo Good
32
 #---------------------------------------------------------------------------
32
 #---------------------------------------------------------------------------
33
 #"Debian Stable Release Key (9/stretch) <debian-release@lists.debian.org>"
33
 #"Debian Stable Release Key (9/stretch) <debian-release@lists.debian.org>"
34
 
34
 
35
-STRETCHSTABLEKEY=" 067E 3C45 6BAE 240A CEE8  8F6F EF0F 382A 1A7B 6500"
36
-CHECKTMP=$(apt-key finger | grep -B 1 "Debian Stable Release Key (9/stretch) <debian-release@lists.debian.org>" | head -n1 | awk -F '=' '{printf $2}')
35
+STRETCHSTABLEKEY="067E 3C45 6BAE 240A CEE8  8F6F EF0F 382A 1A7B 6500"
36
+CHECKTMP=$(apt-key finger | grep -B 1 "Debian Stable Release Key (9/stretch) <debian-release@lists.debian.org>" | head -n1 | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
37
 
37
 
38
 if [ "$CHECKTMP" == "$STRETCHSTABLEKEY" ];then
38
 if [ "$CHECKTMP" == "$STRETCHSTABLEKEY" ];then
39
        echo Good
39
        echo Good
46
 #---------------------------------------------------------------------------
46
 #---------------------------------------------------------------------------
47
 #"Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>"
47
 #"Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>"
48
 
48
 
49
-JESSIEARCHIVEKEY=" 126C 0D24 BD8A 2942 CC7D  F8AC 7638 D044 2B90 D010"
50
-CHECKTMP=$(apt-key finger | grep -B 1 "Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>" | head -n1 | awk -F '=' '{printf $2}')
49
+JESSIEARCHIVEKEY="126C 0D24 BD8A 2942 CC7D  F8AC 7638 D044 2B90 D010"
50
+CHECKTMP=$(apt-key finger | grep -B 1 "Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>" | head -n1 | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
51
 
51
 
52
 if [ "$CHECKTMP" == "$JESSIEARCHIVEKEY" ];then
52
 if [ "$CHECKTMP" == "$JESSIEARCHIVEKEY" ];then
53
        echo Good
53
        echo Good
60
 #---------------------------------------------------------------------------
60
 #---------------------------------------------------------------------------
61
 #"Debian Security Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>"
61
 #"Debian Security Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>"
62
 
62
 
63
-JESSIESECURITYKEY=" D211 6914 1CEC D440 F2EB  8DDA 9D6D 8F6B C857 C906"
64
-CHECKTMP=$(apt-key finger | grep -B 1 "Debian Security Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>" | head -n1 | awk -F '=' '{printf $2}')
63
+JESSIESECURITYKEY="D211 6914 1CEC D440 F2EB  8DDA 9D6D 8F6B C857 C906"
64
+CHECKTMP=$(apt-key finger | grep -B 1 "Debian Security Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>" | head -n1 | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
65
 
65
 
66
 if [ "$CHECKTMP" == "$JESSIESECURITYKEY" ];then
66
 if [ "$CHECKTMP" == "$JESSIESECURITYKEY" ];then
67
        echo Good
67
        echo Good
74
 #---------------------------------------------------------------------------
74
 #---------------------------------------------------------------------------
75
 #"Jessie Stable Release Key <debian-release@lists.debian.org>"
75
 #"Jessie Stable Release Key <debian-release@lists.debian.org>"
76
 
76
 
77
-JESSIESTABLEKEY=" 75DD C3C4 A499 F1A1 8CB5  F3C8 CBF8 D6FD 518E 17E1"
78
-CHECKTMP=$(apt-key finger | grep -B 1 "Jessie Stable Release Key <debian-release@lists.debian.org>" | head -n1 | awk -F '=' '{printf $2}')
77
+JESSIESTABLEKEY="75DD C3C4 A499 F1A1 8CB5  F3C8 CBF8 D6FD 518E 17E1"
78
+CHECKTMP=$(apt-key finger | grep -B 1 "Jessie Stable Release Key <debian-release@lists.debian.org>" | head -n1 | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
79
 
79
 
80
 if [ "$CHECKTMP" == "$JESSIESTABLEKEY" ];then
80
 if [ "$CHECKTMP" == "$JESSIESTABLEKEY" ];then
81
        echo Good
81
        echo Good
88
 #---------------------------------------------------------------------------
88
 #---------------------------------------------------------------------------
89
 #"Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>"
89
 #"Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>"
90
 
90
 
91
-WHEEZYARCHIVEKEY=" A1BD 8E9D 78F7 FE5C 3E65  D8AF 8B48 AD62 4692 5553"
92
-CHECKTMP=$(apt-key finger | grep -B 1 "Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>" | head -n1 | awk -F '=' '{printf $2}')
91
+WHEEZYARCHIVEKEY="A1BD 8E9D 78F7 FE5C 3E65  D8AF 8B48 AD62 4692 5553"
92
+CHECKTMP=$(apt-key finger | grep -B 1 "Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>" | head -n1 | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
93
 
93
 
94
 if [ "$CHECKTMP" == "$WHEEZYARCHIVEKEY" ];then
94
 if [ "$CHECKTMP" == "$WHEEZYARCHIVEKEY" ];then
95
        echo Good
95
        echo Good
102
 #---------------------------------------------------------------------------
102
 #---------------------------------------------------------------------------
103
 #"Wheezy Stable Release Key <debian-release@lists.debian.org>"
103
 #"Wheezy Stable Release Key <debian-release@lists.debian.org>"
104
 
104
 
105
-WHEEZYSTABLEKEY=" ED6D 6527 1AAC F0FF 15D1  2303 6FB2 A1C2 65FF B764"
106
-CHECKTMP=$(apt-key finger | grep -B 1 "Wheezy Stable Release Key <debian-release@lists.debian.org>" | head -n1 | awk -F '=' '{printf $2}')
105
+WHEEZYSTABLEKEY="ED6D 6527 1AAC F0FF 15D1  2303 6FB2 A1C2 65FF B764"
106
+CHECKTMP=$(apt-key finger | grep -B 1 "Wheezy Stable Release Key <debian-release@lists.debian.org>" | head -n1 | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
107
 
107
 
108
 if [ "$CHECKTMP" == "$WHEEZYSTABLEKEY" ];then
108
 if [ "$CHECKTMP" == "$WHEEZYSTABLEKEY" ];then
109
        echo Good
109
        echo Good