[gnome-keysign: 56/75] tests: gpgmks: Added a key with UTF8 encoded UIDs
- From: Gitlab System User <gitlab src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keysign: 56/75] tests: gpgmks: Added a key with UTF8 encoded UIDs
- Date: Fri, 29 Sep 2017 11:27:02 +0000 (UTC)
commit d57b136fe1f78648e64855feae764da8730eb1e6
Author: Tobias Mueller <muelli cryptobitch de>
Date: Wed Sep 13 19:20:00 2017 +0200
tests: gpgmks: Added a key with UTF8 encoded UIDs
For some weird reason this seems to be broken.
pub 1024R/E21E1C46 2017-09-13
uid Test With Ümläütß <hopefully@utf8>
sub 1024R/67F0E6F8 2017-09-13
pub 1024R/A10E045E 2017-09-13
uid Another UTF8 Ümläütß Test
sub 1024R/CF7900DF 2017-09-13
tests/fixtures/pubkey-utf8.asc | 23 +++++++++++++++++++++++
tests/fixtures/seckey-utf8.asc | 37 +++++++++++++++++++++++++++++++++++++
tests/test_gpgmks.py | 4 ++++
3 files changed, 64 insertions(+)
---
diff --git a/tests/fixtures/pubkey-utf8.asc b/tests/fixtures/pubkey-utf8.asc
new file mode 100644
index 0000000..89250cc
--- /dev/null
+++ b/tests/fixtures/pubkey-utf8.asc
@@ -0,0 +1,23 @@
+pub 1024R/A10E045E 2017-09-13
+uid Another UTF8 Ümläütß Test
+sub 1024R/CF7900DF 2017-09-13
+
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1
+
+mI0EWblRDAEEAKzsGODgZ3ibDjwR6yFz3DMGF7pFM8XXX/mjIGXYjXnkcW5QBudt
+Cg1SOodN7c3849VOCVOUDHQC0P39YfFkTxJ2lBXRdjTVqtC+cLLJR3E/jnP/tbxp
+mia77iGvMfQ95eKQDILlxqZuAsEYr8oSQk3rMhlmDFcnKawB4nknYY+NABEBAAG0
+HUFub3RoZXIgVVRGOCDDnG1sw6TDvHTDnyBUZXN0iLgEEwECACIFAlm5UQwCGwMG
+CwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEKBi50WhDgRexwcD/1uqMLhlwso6
+pl9u7aqzWVKIH6/GKKzfhpijJIEESFtEdV3J1TqKWn+P5NKOAVQxRMvICCEzmVAX
+sa++vkdRkGYwLjxnw8NirI/vROvIGx1t2AT9gpAJZB/g+NkJ615+1zDTFVoYGPKe
+iz7kLxHmq+MIGaTQkT9HuWIF0LvG9l0muI0EWblRDAEEANjd1GnZ78s5Mo9+WdyA
+RYf6dPG1XR6z0EbO2JsjlJxfmPl3qTs/dwUAMoNaff3HszWa8fLO293vUOLQfbTz
+KGmGMrFxBGEbgZo39geaTsbXa+UEtsf7XzKtVGfej2lkq1gz8B6FZQIHe2fUHNXe
+DhBTCcwY2/TZpBPsLcZj2DxrABEBAAGInwQYAQIACQUCWblRDAIbDAAKCRCgYudF
+oQ4EXtdPA/4itrYw9BFywFKPPDxDZFA562+gp/SjapGILyJgi2j8qcnF//dJfU8e
+J0/xb1glpm+iJbcTArQ7xUknFP0oRec49vG6ghR42FooAY26x2nydcH8PFX6Jud4
+I6RQ7NzZIgmomE2xiu1T3xo16mHH2oaLDEGIGe48H02O7prjwtuCTA==
+=GNH+
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/tests/fixtures/seckey-utf8.asc b/tests/fixtures/seckey-utf8.asc
new file mode 100644
index 0000000..c43eef5
--- /dev/null
+++ b/tests/fixtures/seckey-utf8.asc
@@ -0,0 +1,37 @@
+pub 1024R/E21E1C46 2017-09-13
+uid Test With Ümläütß <hopefully@utf8>
+sub 1024R/67F0E6F8 2017-09-13
+
+-----BEGIN PGP PRIVATE KEY BLOCK-----
+Version: GnuPG v1
+
+lQHYBFm5UKIBBADLvlkXlqVvgkkVsPEXO172kUeYKzV3RtszIunxvNXMXZY6yXkz
+6IqWJsOfGjZ5hWqlf5i/7DRYnuUQZt8UBRnrfazqPD82pPcDOVjjDIES+HeyTpCM
+2+5Olsqin7ZabIvR6vBt7fVJLheUjkMDVt2ngs71v2mWrDPJQ/vZb7aZ1wARAQAB
+AAP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TtJyEevl/FNgHaNccPEuVVCVEEGx
+bEx6Ae7nQWogkU3TK7a9AgDIESCBz5/zFx8DFC5TqTtIk+bkrD+/0AcUrMA6iV56
+o36MJcibovQiWl7q1WJfzRqr5eGo/0tBINCdaSvaazNTAgDt2IcGMY04miIGvIHo
+137UCIwiGTmrAyxlKPTDwisXRbeS/zNEZq7dX+8vBvZ4l8V68NbRmgtaCcg8klfL
+6vktAf4wNduozIHE2m6wA/lGRkQolLK7zHpxQgTGkfZiVO3/Gzu3OZyrq9mx6h0t
+6TdS1olRCBTkmP1YZsj40BHtYVjYo6eInwQYAQIACQUCWblQogIbDAAKCRCnEJpG
+4h4cRo4XA/4wfE6lTboduvaG/rxF0pu3zQEz8VTOpH8Rnjctuva5//gjhvF3OR46
+rLpVstt76VcW/VMRynZMjSkBvEzW2F3Ee7NWiNwJxM651Gff0ijOhsuUN7//WBk6
+QCVRvKVOlHzov2f4RmCyrVvvKHVC9/kRBDCQFLNMWuhVcovZiAWSeQ==
+=l0q/
+-----END PGP PRIVATE KEY BLOCK-----
diff --git a/tests/test_gpgmks.py b/tests/test_gpgmks.py
index b8ed23e..6e3f992 100644
--- a/tests/test_gpgmks.py
+++ b/tests/test_gpgmks.py
@@ -310,3 +310,7 @@ class TestColon(TestSignAndEncrypt):
class TestMultipleUID(TestSignAndEncrypt):
SENDER_KEY = "seckey-multiple-uid-colon.asc"
RECEIVER_KEY = "seckey-2.asc"
+
+class TestUtf8(TestSignAndEncrypt):
+ SENDER_KEY = "seckey-utf8.asc"
+ RECEIVER_KEY = "pubkey-utf8.asc"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]