aboutsummaryrefslogtreecommitdiff
path: root/crypto-pgpainless/src/test/resources
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-02-21 20:12:19 +0530
committerGitHub <noreply@github.com>2022-02-21 20:12:19 +0530
commitbbbcc76d6562531502ffc4db7831ab34acddbacf (patch)
tree93761e9857c9a675dc0feee3cd01a0409b4d0a5f /crypto-pgpainless/src/test/resources
parente343c66d8b15037c5b73a32dd71f5f6fee26a120 (diff)
Add failing test for multiple identities (#1741)
Diffstat (limited to 'crypto-pgpainless/src/test/resources')
-rw-r--r--crypto-pgpainless/src/test/resources/private_key_multiple_identities93
-rw-r--r--crypto-pgpainless/src/test/resources/public_key_multiple_identities51
2 files changed, 144 insertions, 0 deletions
diff --git a/crypto-pgpainless/src/test/resources/private_key_multiple_identities b/crypto-pgpainless/src/test/resources/private_key_multiple_identities
new file mode 100644
index 00000000..5da8ac81
--- /dev/null
+++ b/crypto-pgpainless/src/test/resources/private_key_multiple_identities
@@ -0,0 +1,93 @@
+-----BEGIN PGP PRIVATE KEY BLOCK-----
+
+lQWGBF8ZYcsBDADN7uFG6b/GZYK4zaBXEJ0ZTV1AmNCRDVHyp2GY/TSJYYLCpiyl
+PhAlgems44L55XkDjFnAUkNqEmeB1j/nt277LLU6mr+OyT1ONvUCSonGCJpvLy04
+PesX8TmPrzYHxIXeeeEAG5FzajHeR7IKczihBYJCIBw8k9jq2Xw6MgeYwNOkewcC
+8sXp7DJm4lvlJTr7myZQZSzU1fQVj1cvtEFV6Ui2ga3zXqGvJpyvkltr0n7E0qhV
+awQP8WJZR2+GvloIGocYSWgnHcV6hIOLyns4JrGOUbOXejiH7LxdeSFWCl6RBnGq
+BfH8bFIuy9p2Js81kgyvO4iKBGWUNLLwBA++0h1RNVKupQOopgJfFvxT1brhEYpi
+DCm2Nh4z210Xf+cvbbRS5r+8PVJJtTu9njFZOgkhAoDPyisSwGIkjowR34xZWaGk
+0vUq6cgy++UzXagStdh+TBMHnUrofHzZi8rZ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IVATE KEY BLOCK-----
diff --git a/crypto-pgpainless/src/test/resources/public_key_multiple_identities b/crypto-pgpainless/src/test/resources/public_key_multiple_identities
new file mode 100644
index 00000000..2cc896c2
--- /dev/null
+++ b/crypto-pgpainless/src/test/resources/public_key_multiple_identities
@@ -0,0 +1,51 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mQGNBF8ZYcsBDADN7uFG6b/GZYK4zaBXEJ0ZTV1AmNCRDVHyp2GY/TSJYYLCpiyl
+PhAlgems44L55XkDjFnAUkNqEmeB1j/nt277LLU6mr+OyT1ONvUCSonGCJpvLy04
+PesX8TmPrzYHxIXeeeEAG5FzajHeR7IKczihBYJCIBw8k9jq2Xw6MgeYwNOkewcC
+8sXp7DJm4lvlJTr7myZQZSzU1fQVj1cvtEFV6Ui2ga3zXqGvJpyvkltr0n7E0qhV
+awQP8WJZR2+GvloIGocYSWgnHcV6hIOLyns4JrGOUbOXejiH7LxdeSFWCl6RBnGq
+BfH8bFIuy9p2Js81kgyvO4iKBGWUNLLwBA++0h1RNVKupQOopgJfFvxT1brhEYpi
+DCm2Nh4z210Xf+cvbbRS5r+8PVJJtTu9njFZOgkhAoDPyisSwGIkjowR34xZWaGk
+0vUq6cgy++UzXagStdh+TBMHnUrofHzZi8rZ7neGdv5BEO05VH069ypCq//M6jFv
+sCXPcfSGppSGIVcAEQEAAbQXSm9obiBEb2UgPGpvaG5AZG9lLm9yZz6JAcwEEwEK
+ADYWIQQ2oHrzlxvNky+z1N+5UK4oE4QVhQUCXxlhywIbAwQLCQgHBBUKCQgFFgID
+AQACHgECF4AACgkQuVCuKBOEFYV6GgwAiXxeRh+RUye14PYQhUl25FOk1kIH7Aes
+y0O5NlkIDgPPErLhBPClSzmVekjQGPfByO2jnzwW764OBfbMmrCiykJScRTEnFa7
+rt73UCCs7Ag0KsC8kjVxVaF0ywOEa2nq60ZC1NvGAAnZgOFj+pjJW5M7GyRikZ/G
+iGx9pVyGOk3tMjZiJ4HZtAYEj8aOG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