Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Context Sensitive Group
freedombone
Commits
ec486586
Commit
ec486586
authored
7 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Fix debian key tests
parent
902db810
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/check-apt-key.sh
+16
-16
16 additions, 16 deletions
tests/check-apt-key.sh
with
16 additions
and
16 deletions
tests/check-apt-key.sh
+
16
−
16
View file @
ec486586
...
...
@@ -4,8 +4,8 @@
#---------------------------------------------------------------------------
#"Debian Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>"
STRETCHARCHIVEKEY
=
"
E1CF 20DD FFE4 B89E 8026 58F1 E0B1 1894 F66A EC98"
CHECKTMP
=
$(
apt-key finger |
grep
-B
1
"Debian Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>"
|
head
-n1
|
awk
-
F
'
='
'{printf $2}
'
)
STRETCHARCHIVEKEY
=
"E1CF 20DD FFE4 B89E 8026 58F1 E0B1 1894 F66A EC98"
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:]]*$//
'
)
if
[
"
$CHECKTMP
"
==
"
$STRETCHARCHIVEKEY
"
]
;
then
echo
Good
...
...
@@ -18,8 +18,8 @@ fi
#---------------------------------------------------------------------------
#"Debian Security Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>"
STRETCHSECURITYKEY
=
"
6ED6 F5CB 5FA6 FB2F 460A E88E EDA0 D238 8AE2 2BA9"
CHECKTMP
=
$(
apt-key finger |
grep
-B
1
"Debian Security Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>"
|
head
-n1
|
awk
-
F
'
='
'{printf $2}
'
)
STRETCHSECURITYKEY
=
"6ED6 F5CB 5FA6 FB2F 460A E88E EDA0 D238 8AE2 2BA9"
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:]]*$//
'
)
if
[
"
$CHECKTMP
"
==
"
$STRETCHSECURITYKEY
"
]
;
then
echo
Good
...
...
@@ -32,8 +32,8 @@ fi
#---------------------------------------------------------------------------
#"Debian Stable Release Key (9/stretch) <debian-release@lists.debian.org>"
STRETCHSTABLEKEY
=
"
067E 3C45 6BAE 240A CEE8 8F6F EF0F 382A 1A7B 6500"
CHECKTMP
=
$(
apt-key finger |
grep
-B
1
"Debian Stable Release Key (9/stretch) <debian-release@lists.debian.org>"
|
head
-n1
|
awk
-
F
'
='
'{printf $2}
'
)
STRETCHSTABLEKEY
=
"067E 3C45 6BAE 240A CEE8 8F6F EF0F 382A 1A7B 6500"
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:]]*$//
'
)
if
[
"
$CHECKTMP
"
==
"
$STRETCHSTABLEKEY
"
]
;
then
echo
Good
...
...
@@ -46,8 +46,8 @@ fi
#---------------------------------------------------------------------------
#"Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>"
JESSIEARCHIVEKEY
=
"
126C 0D24 BD8A 2942 CC7D F8AC 7638 D044 2B90 D010"
CHECKTMP
=
$(
apt-key finger |
grep
-B
1
"Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>"
|
head
-n1
|
awk
-
F
'
='
'{printf $2}
'
)
JESSIEARCHIVEKEY
=
"126C 0D24 BD8A 2942 CC7D F8AC 7638 D044 2B90 D010"
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:]]*$//
'
)
if
[
"
$CHECKTMP
"
==
"
$JESSIEARCHIVEKEY
"
]
;
then
echo
Good
...
...
@@ -60,8 +60,8 @@ fi
#---------------------------------------------------------------------------
#"Debian Security Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>"
JESSIESECURITYKEY
=
"
D211 6914 1CEC D440 F2EB 8DDA 9D6D 8F6B C857 C906"
CHECKTMP
=
$(
apt-key finger |
grep
-B
1
"Debian Security Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>"
|
head
-n1
|
awk
-
F
'
='
'{printf $2}
'
)
JESSIESECURITYKEY
=
"D211 6914 1CEC D440 F2EB 8DDA 9D6D 8F6B C857 C906"
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:]]*$//
'
)
if
[
"
$CHECKTMP
"
==
"
$JESSIESECURITYKEY
"
]
;
then
echo
Good
...
...
@@ -74,8 +74,8 @@ fi
#---------------------------------------------------------------------------
#"Jessie Stable Release Key <debian-release@lists.debian.org>"
JESSIESTABLEKEY
=
"
75DD C3C4 A499 F1A1 8CB5 F3C8 CBF8 D6FD 518E 17E1"
CHECKTMP
=
$(
apt-key finger |
grep
-B
1
"Jessie Stable Release Key <debian-release@lists.debian.org>"
|
head
-n1
|
awk
-
F
'
='
'{printf $2}
'
)
JESSIESTABLEKEY
=
"75DD C3C4 A499 F1A1 8CB5 F3C8 CBF8 D6FD 518E 17E1"
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:]]*$//
'
)
if
[
"
$CHECKTMP
"
==
"
$JESSIESTABLEKEY
"
]
;
then
echo
Good
...
...
@@ -88,8 +88,8 @@ fi
#---------------------------------------------------------------------------
#"Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>"
WHEEZYARCHIVEKEY
=
"
A1BD 8E9D 78F7 FE5C 3E65 D8AF 8B48 AD62 4692 5553"
CHECKTMP
=
$(
apt-key finger |
grep
-B
1
"Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>"
|
head
-n1
|
awk
-
F
'
='
'{printf $2}
'
)
WHEEZYARCHIVEKEY
=
"A1BD 8E9D 78F7 FE5C 3E65 D8AF 8B48 AD62 4692 5553"
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:]]*$//
'
)
if
[
"
$CHECKTMP
"
==
"
$WHEEZYARCHIVEKEY
"
]
;
then
echo
Good
...
...
@@ -102,8 +102,8 @@ fi
#---------------------------------------------------------------------------
#"Wheezy Stable Release Key <debian-release@lists.debian.org>"
WHEEZYSTABLEKEY
=
"
ED6D 6527 1AAC F0FF 15D1 2303 6FB2 A1C2 65FF B764"
CHECKTMP
=
$(
apt-key finger |
grep
-B
1
"Wheezy Stable Release Key <debian-release@lists.debian.org>"
|
head
-n1
|
awk
-
F
'
='
'{printf $2}
'
)
WHEEZYSTABLEKEY
=
"ED6D 6527 1AAC F0FF 15D1 2303 6FB2 A1C2 65FF B764"
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:]]*$//
'
)
if
[
"
$CHECKTMP
"
==
"
$WHEEZYSTABLEKEY
"
]
;
then
echo
Good
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment