diff --git a/tests/README.txt b/tests/README.txt new file mode 100644 index 0000000..7ad3bd5 --- /dev/null +++ b/tests/README.txt @@ -0,0 +1,2 @@ +alice.gpg contains the private key which has been used to encrypt the +passwords in password-store/ diff --git a/tests/alice.gpg b/tests/alice.gpg new file mode 100644 index 0000000..af07535 --- /dev/null +++ b/tests/alice.gpg @@ -0,0 +1,36 @@ +-----BEGIN PGP PRIVATE KEY BLOCK----- + +lQIGBGEBmioBBADN644Nv7b45cuHk4ctcE4Yxo9x3AT1tEpC6fCcOFK7PQ/M2T7Y +tiZdKFnAz/9SR6ns0ERbYz+Fb0AcbVQUT9j+mAmQ0QJVQVnoj2BzX0yK0MFWGg2f +uR/NMP/Pzgx1kYQdV0ecIKi5ulGBLb4GtzxQGmogfSbh58FJ5cTqv2GXPQARAQAB +/gcDAu81AiOuzNxk/d1Rrp8f9/3Gqt5VSaeioFel16rdYcbO4ddgxjdqGAePF5US +hXIppexspsDYZo/zJyt3gLMPZF9mBYGe3DW9UkXQOaXoQWSsGc2vDswSf3rDIl+e +awKn8+fjv7uvrGalT/It1uQLPpBk+abnzyAI8GrtQwt1zAt9/7/dZKxql2WHP3rc +5kGMGt+q0oEor0rgKZlzRwtZKkfQarVYSDj1H5yKvjPqYJPbhYicsYottNvATDc+ +u81Mumb4D7jfV2YOsBL5yRetuVBrlLZB0Ukv/GmKDj+5W24N6QkgjI48ZvAtkQiY +7rHgXlDuJZQsGto/Mu3WsV4yx7rxx1eJIMzZjLnw3IDwihgU3r9ezwcNzBRE/9pY +QR7rliriSITIDqihUv/6cAsAspi54q62b559xPSO4ZDEd5+baLb499hRV0Khc0M6 +GuW9HqVQUZ812qL+jHX+mnWDeeZIzCrqs1+9cctZC2ghUA+7mbAX0r20UkFsaWNl +IChUZXN0IGtleSBmb3IgaHR0cHM6Ly9naXRodWIuY29tL3JlaW5lZmpvcmQvcGFz +czJjc3YpIDxhbGljZUBkb21haW4uaW52YWxpZD6IzgQTAQgAOBYhBBoVsDwjmvRl +P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P9e1jwnnnqPiwY09GqQz/8gB2 +6mL3/ydhgqZcgzmakK6vXo7tne/RgQrtXJ7DcpAVLrMvMHOZ+af2/jPjMaKL9sAO +C4xr2NCDuliR860/R0domSOh8PWx1EKvQpOFKNVd +=6Tlz +-----END PGP PRIVATE KEY BLOCK----- diff --git a/tests/pass b/tests/pass new file mode 100755 index 0000000..9ed7137 --- /dev/null +++ b/tests/pass @@ -0,0 +1,3 @@ +#!/bin/bash + +PASSWORD_STORE_DIR=./password-store pass "${@}" diff --git a/tests/password-store/.gpg-id b/tests/password-store/.gpg-id new file mode 100644 index 0000000..e4a1cbf --- /dev/null +++ b/tests/password-store/.gpg-id @@ -0,0 +1 @@ +1A15B03C239AF4653FB3384FEBF0AED0FF9D397D diff --git a/tests/password-store/latin1.gpg b/tests/password-store/latin1.gpg new file mode 100644 index 0000000..90b161c Binary files /dev/null and b/tests/password-store/latin1.gpg differ diff --git a/tests/password-store/sites/example/login.gpg b/tests/password-store/sites/example/login.gpg new file mode 100644 index 0000000..85311b9 Binary files /dev/null and b/tests/password-store/sites/example/login.gpg differ diff --git a/tests/password-store/unicode.gpg b/tests/password-store/unicode.gpg new file mode 100644 index 0000000..d62cfe3 --- /dev/null +++ b/tests/password-store/unicode.gpg @@ -0,0 +1,2 @@ +l(ud Tf/RK;66Abi)Jd븥ZaF"2 Kt) .-"b݂wqթOGnЭ ZM:N'fQ#UlBLR?vc0d1є򕬛R*KebRJ::GR&}:CA$ћ۽ϸyˇg +*>P"ι \ No newline at end of file