summaryrefslogtreecommitdiff
path: root/tests/samples
diff options
context:
space:
mode:
Diffstat (limited to 'tests/samples')
-rw-r--r--tests/samples/gpg-badsig.txt8
-rw-r--r--tests/samples/gpg-good-invalid-notrust.txt19
-rw-r--r--tests/samples/gpg-good-valid-notrust.txt20
-rw-r--r--tests/samples/gpg-good-valid-trusted.txt20
-rw-r--r--tests/samples/gpg-no-pubkey.txt3
5 files changed, 70 insertions, 0 deletions
diff --git a/tests/samples/gpg-badsig.txt b/tests/samples/gpg-badsig.txt
new file mode 100644
index 0000000..d53e4cf
--- /dev/null
+++ b/tests/samples/gpg-badsig.txt
@@ -0,0 +1,8 @@
+[GNUPG:] NEWSIG
+[GNUPG:] KEYEXPIRED 1446574742
+[GNUPG:] KEYEXPIRED 1525881230
+[GNUPG:] KEY_CONSIDERED DE0E66E32F1FDD0902666B96E63EDCA9329DD07E 0
+[GNUPG:] KEYEXPIRED 1446574742
+[GNUPG:] KEYEXPIRED 1525881230
+[GNUPG:] KEY_CONSIDERED DE0E66E32F1FDD0902666B96E63EDCA9329DD07E 0
+[GNUPG:] BADSIG B6C41CE35664996C Konstantin Ryabitsev <konstantin@linuxfoundation.org>
diff --git a/tests/samples/gpg-good-invalid-notrust.txt b/tests/samples/gpg-good-invalid-notrust.txt
new file mode 100644
index 0000000..e531d78
--- /dev/null
+++ b/tests/samples/gpg-good-invalid-notrust.txt
@@ -0,0 +1,19 @@
+[GNUPG:] NEWSIG
+[GNUPG:] KEYEXPIRED 1446574742
+[GNUPG:] KEYEXPIRED 1525881230
+[GNUPG:] KEY_CONSIDERED DE0E66E32F1FDD0902666B96E63EDCA9329DD07E 0
+[GNUPG:] SIG_ID 5clUiMzlfE8KIyEu++mBk6I0Rnc 2021-06-09 1623274836
+[GNUPG:] KEYEXPIRED 1446574742
+[GNUPG:] KEYEXPIRED 1525881230
+[GNUPG:] KEY_CONSIDERED DE0E66E32F1FDD0902666B96E63EDCA9329DD07E 0
+[GNUPG:] GOODSIG B6C41CE35664996C Konstantin Ryabitsev <konstantin@linuxfoundation.org>
+[GNUPG:] KEYEXPIRED 1446574742
+[GNUPG:] KEYEXPIRED 1525881230
+[GNUPG:] KEY_CONSIDERED DE0E66E32F1FDD0902666B96E63EDCA9329DD07E 0
+[GNUPG:] KEYEXPIRED 1446574742
+[GNUPG:] KEYEXPIRED 1525881230
+[GNUPG:] KEY_CONSIDERED DE0E66E32F1FDD0902666B96E63EDCA9329DD07E 0
+[GNUPG:] KEYEXPIRED 1446574742
+[GNUPG:] KEYEXPIRED 1525881230
+[GNUPG:] KEY_CONSIDERED DE0E66E32F1FDD0902666B96E63EDCA9329DD07E 0
+[GNUPG:] TRUST_UNDEFINED 0 tofu
diff --git a/tests/samples/gpg-good-valid-notrust.txt b/tests/samples/gpg-good-valid-notrust.txt
new file mode 100644
index 0000000..aacb4f8
--- /dev/null
+++ b/tests/samples/gpg-good-valid-notrust.txt
@@ -0,0 +1,20 @@
+[GNUPG:] NEWSIG
+[GNUPG:] KEYEXPIRED 1446574742
+[GNUPG:] KEYEXPIRED 1525881230
+[GNUPG:] KEY_CONSIDERED DE0E66E32F1FDD0902666B96E63EDCA9329DD07E 0
+[GNUPG:] SIG_ID 5clUiMzlfE8KIyEu++mBk6I0Rnc 2021-06-09 1623274836
+[GNUPG:] KEYEXPIRED 1446574742
+[GNUPG:] KEYEXPIRED 1525881230
+[GNUPG:] KEY_CONSIDERED DE0E66E32F1FDD0902666B96E63EDCA9329DD07E 0
+[GNUPG:] GOODSIG B6C41CE35664996C Konstantin Ryabitsev <konstantin@linuxfoundation.org>
+[GNUPG:] VALIDSIG 76BE5DB25271E1481E678C35B6C41CE35664996C 2021-06-09 1623274836 0 4 0 22 8 01 DE0E66E32F1FDD0902666B96E63EDCA9329DD07E
+[GNUPG:] KEYEXPIRED 1446574742
+[GNUPG:] KEYEXPIRED 1525881230
+[GNUPG:] KEY_CONSIDERED DE0E66E32F1FDD0902666B96E63EDCA9329DD07E 0
+[GNUPG:] KEYEXPIRED 1446574742
+[GNUPG:] KEYEXPIRED 1525881230
+[GNUPG:] KEY_CONSIDERED DE0E66E32F1FDD0902666B96E63EDCA9329DD07E 0
+[GNUPG:] KEYEXPIRED 1446574742
+[GNUPG:] KEYEXPIRED 1525881230
+[GNUPG:] KEY_CONSIDERED DE0E66E32F1FDD0902666B96E63EDCA9329DD07E 0
+[GNUPG:] TRUST_UNDEFINED 0 tofu
diff --git a/tests/samples/gpg-good-valid-trusted.txt b/tests/samples/gpg-good-valid-trusted.txt
new file mode 100644
index 0000000..26e7914
--- /dev/null
+++ b/tests/samples/gpg-good-valid-trusted.txt
@@ -0,0 +1,20 @@
+[GNUPG:] NEWSIG
+[GNUPG:] KEYEXPIRED 1446574742
+[GNUPG:] KEYEXPIRED 1525881230
+[GNUPG:] KEY_CONSIDERED DE0E66E32F1FDD0902666B96E63EDCA9329DD07E 0
+[GNUPG:] SIG_ID 5clUiMzlfE8KIyEu++mBk6I0Rnc 2021-06-09 1623274836
+[GNUPG:] KEYEXPIRED 1446574742
+[GNUPG:] KEYEXPIRED 1525881230
+[GNUPG:] KEY_CONSIDERED DE0E66E32F1FDD0902666B96E63EDCA9329DD07E 0
+[GNUPG:] GOODSIG B6C41CE35664996C Konstantin Ryabitsev <konstantin@linuxfoundation.org>
+[GNUPG:] VALIDSIG 76BE5DB25271E1481E678C35B6C41CE35664996C 2021-06-09 1623274836 0 4 0 22 8 01 DE0E66E32F1FDD0902666B96E63EDCA9329DD07E
+[GNUPG:] KEYEXPIRED 1446574742
+[GNUPG:] KEYEXPIRED 1525881230
+[GNUPG:] KEY_CONSIDERED DE0E66E32F1FDD0902666B96E63EDCA9329DD07E 0
+[GNUPG:] KEYEXPIRED 1446574742
+[GNUPG:] KEYEXPIRED 1525881230
+[GNUPG:] KEY_CONSIDERED DE0E66E32F1FDD0902666B96E63EDCA9329DD07E 0
+[GNUPG:] KEYEXPIRED 1446574742
+[GNUPG:] KEYEXPIRED 1525881230
+[GNUPG:] KEY_CONSIDERED DE0E66E32F1FDD0902666B96E63EDCA9329DD07E 0
+[GNUPG:] TRUST_ULTIMATE 0 tofu
diff --git a/tests/samples/gpg-no-pubkey.txt b/tests/samples/gpg-no-pubkey.txt
new file mode 100644
index 0000000..5026191
--- /dev/null
+++ b/tests/samples/gpg-no-pubkey.txt
@@ -0,0 +1,3 @@
+[GNUPG:] NEWSIG
+[GNUPG:] ERRSIG B6C41CE35664996C 22 8 01 1623274836 9 76BE5DB25271E1481E678C35B6C41CE35664996C
+[GNUPG:] NO_PUBKEY B6C41CE35664996C