mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
new files
This commit is contained in:
parent
404a6c8960
commit
485b4abe5f
@ -10,7 +10,7 @@ usrname1="one"
|
|||||||
usrpass1="def"
|
usrpass1="def"
|
||||||
usrname2="two"
|
usrname2="two"
|
||||||
usrpass2="abc"
|
usrpass2="abc"
|
||||||
plain_files="plain-1 plain-2 plain-3"
|
plain_files="plain-1 plain-2"
|
||||||
data_files=""
|
data_files=""
|
||||||
exp_files=""
|
exp_files=""
|
||||||
|
|
||||||
@ -50,6 +50,13 @@ run_g10 () {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
run_g10maint () {
|
||||||
|
if ! eval ../g10/g10maint --homedir . $* ; then
|
||||||
|
echo "(../g10/g10maint --homedir . $*) failed" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
#--------------------------------
|
#--------------------------------
|
||||||
#-------- main program ----------
|
#-------- main program ----------
|
||||||
#--------------------------------
|
#--------------------------------
|
||||||
@ -60,7 +67,7 @@ trap cleanup SIGHUP SIGINT SIGQUIT
|
|||||||
|
|
||||||
|
|
||||||
# some checks
|
# some checks
|
||||||
for i in $plain_files; do
|
for i in $plain_files plain-3o.asc ; do
|
||||||
[ -f $i ] || fatal "$i: missing"
|
[ -f $i ] || fatal "$i: missing"
|
||||||
done
|
done
|
||||||
for i in $exp_files; do
|
for i in $exp_files; do
|
||||||
@ -77,6 +84,13 @@ EOF
|
|||||||
# print the G10 version
|
# print the G10 version
|
||||||
run_g10 --version
|
run_g10 --version
|
||||||
|
|
||||||
|
info Unpacking some material
|
||||||
|
run_g10maint --yes --dearmor -o pubring.g10 pubring.asc
|
||||||
|
run_g10maint --yes --dearmor -o secring.g10 secring.asc
|
||||||
|
run_g10maint --yes --dearmor -o plain-3 plain-3o.asc
|
||||||
|
plain_files="$plain_files plain-3"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
info Checking decryption
|
info Checking decryption
|
||||||
for i in $plain_files ; do
|
for i in $plain_files ; do
|
||||||
@ -124,7 +138,7 @@ done
|
|||||||
info Checking armored encryption
|
info Checking armored encryption
|
||||||
for i in $plain_files $data_files ; do
|
for i in $plain_files $data_files ; do
|
||||||
run_g10 -ea -o x --yes -r "$usrname2" $i
|
run_g10 -ea -o x --yes -r "$usrname2" $i
|
||||||
run_g10 -o y --yes x
|
echo "$usrpass2" | run_g10 -o y --yes x
|
||||||
cmp $i y || error "$i: mismatch"
|
cmp $i y || error "$i: mismatch"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
checkit
|
checkit
|
||||||
|
pubring.asc
|
||||||
|
secring.asc
|
||||||
plain-1
|
plain-1
|
||||||
plain-2
|
plain-2
|
||||||
plain-3
|
plain-3o.asc
|
||||||
plain-1.asc
|
plain-1.asc
|
||||||
plain-2.asc
|
plain-2.asc
|
||||||
plain-3.asc
|
plain-3.asc
|
||||||
|
|
||||||
|
@ -1 +0,0 @@
|
|||||||
Dies ist eine einfache Zeile ohne LF am Ende.
|
|
10
checks/plain-3o.asc
Normal file
10
checks/plain-3o.asc
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
Stored by G10, because diff/patch have problems with
|
||||||
|
files not having a trailing LF - and this one has none.
|
||||||
|
|
||||||
|
-----BEGIN PGP ARMORED FILE-----
|
||||||
|
Version: G10 v0.2.6a (Linux)
|
||||||
|
Comment: This is an alpha version!
|
||||||
|
|
||||||
|
RGllcyBpc3QgZWluZSBlaW5mYWNoZSBaZWlsZSBvaG5lIExGIGFtIEVuZGUu
|
||||||
|
=ZQ6m
|
||||||
|
-----END PGP ARMORED FILE-----
|
60
checks/pubring.asc
Normal file
60
checks/pubring.asc
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
This is a test public keyring simply stored by G10 so that
|
||||||
|
it is easier to make diff files.
|
||||||
|
|
||||||
|
|
||||||
|
-----BEGIN PGP ARMORED FILE-----
|
||||||
|
Version: G10 v0.2.6a (Linux)
|
||||||
|
Comment: This is an alpha version!
|
||||||
|
|
||||||
|
0CEjY3JlYXRlZCBieSBHMTAgcHJlLXJlbGVhc2UgMC4yLjOYzwM04IBiAAAQAwCahCejXfdUM3bZ
|
||||||
|
4fia7munX+vSWvmgD0YOyMtgr7XrxpZOC1cXRnQcNl+vA+YrCRBEY2UNmr27+wO+paw4Pz+JN+wD
|
||||||
|
Da20vDmC7FXPiCVVSQo8EdSBgstfyaniY0QTAlMAAwYDAJGh9SxGQUeRExXtDj2ELt9zGISOR8oP
|
||||||
|
Qtw4sYjYRw4I3otf9vreVhHkce8dcpI6ymGsUNJpmkFwG5DAiWt5vC3+YmT/m2gS99yK6tWLxETv
|
||||||
|
UMPFq5QXf1UEdKWlU1RT1LQUdGVzdCBvbmUgKElOU0VDVVJFISmI1wMFEzTggGLlaCrLPviEoxAD
|
||||||
|
hUUC/36yW0w+VSoRNDo/YrWTgGb4lsXyz+xnQXWaGRrtAiOfxC0CZOIXBUn0yS3JTYZu4Vqb7O0b
|
||||||
|
dgcacpi6eGN4s7cBy8wk5hzWJUMqMZFomTC06SlYB8bbIP9CPhcLDIUMYwMAkM7efh4jf7SAt0OG
|
||||||
|
l/ri4PSQtz+e5kBAuUmA4rRKg91i/YsH49HA7tW9zOgUbpO1n7Se3XETWy9DWBOEv/xy2Sbqds3m
|
||||||
|
FYqA85hUAG5BrDx1xbBIDQzzD6TgHp7JSEmciN8DBRA04JBDxkYimB/Yba8QAxLLAx9D93mAVWxY
|
||||||
|
YSOVBSpseXXsQf6HwsZtkTmKXY3imjOliy4xiI7opkQdw0vbFx9YG5Bnstm7y/LfnEVt+GOEHl3/
|
||||||
|
BULqpLIyhVKfgyGq/SJCppY5e0FDZWvUeZvERCEm7MEETD7qAx0eVteraIWfVLYYwlINONPqvuSV
|
||||||
|
eVpty1v8c5zwKil1rSD3Hi7vOnNIp21e8wykdpEjmtje9PCuvpiqFzB4BNWKRdpmGbfCxVDh5E8h
|
||||||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lMfnL2xMruDftBF0aHJlZSAoSU5TRUNVUkUhKYjfAwUTNOGnIcZMoWxOsCyNEANb
|
||||||
|
PAMfffWuZsvH4MwIlqKAhn0B4RuF81NLvNGl01KvF63cyFNYactbU8aSQFwNYh4rYjBgJe+/3gjr
|
||||||
|
Qa+u52lQEqljHqFp1LTMi49i/J7u/VYhcV7EWGagIzE2XC7EUJTnyIJ3WUQOLwMfYdqG0dVgwNNx
|
||||||
|
3Za4BpkNSqNLQ60EcrUSZ5vBRbsw8OaBws8CZ2nf6COO5y+BE+OV3sad/6+cxVw5VgQ+XphjXl9/
|
||||||
|
iPzJv2LFf9RK3pep8XbtniEM1+rtKn+JtNuObfzhxdH8bYjXAwUQNOGn1OVoKss++ISjEAOVtQL/
|
||||||
|
RijkiYlz50ZsRwLJHai5MbCb2zR9tB5AUVSOy4FWLUiahab80NkZkCduiZI6RuHIbwcImykoOBro
|
||||||
|
81ujVAz7WmLsCNonWEOb1FibSP94jJs6HbbMF0LBwSCzbaCKiYutAvwMddZGwSvOabMY0JC5ECGq
|
||||||
|
az1xu2kNHhtKZRhAMg6phCfDu/8m3Dz/rnlzl3Cxf8OtCDOkkhwtVyYRBD5e6AE5mvMQB6WJP8s9
|
||||||
|
FK7FeMYEJ9qelSc7yhELiK8yuoMorFyI3wMFEDThp+fGRiKYH9htrxADCqgDH30csYELJ8R/SNXQ
|
||||||
|
tN9uUALfbBHrqdhWfmQeIBbfadJCLVtoKSFI4bbPfuKAvdEX4pS3wOHon5Hv9CSNkwRf/t1W5YCu
|
||||||
|
XH+y8XNrZXCqSWZSw2VL0ubz618bAKDUxYxkDy03THUDILoAkHWAguVAp9zGwkcJVxBfdTCn45kt
|
||||||
|
SDGA+mqlhpUu6TKXW/qfyeA01Qi1pMqzxZvirHRI/KnAbvhU80WkgD1X10zRAmmJnZpKfSxVdRRG
|
||||||
|
jz83sfwIwn1g8v2gPC3WKbDr+0k=
|
||||||
|
=OloO
|
||||||
|
-----END PGP ARMORED FILE-----
|
Binary file not shown.
47
checks/secring.asc
Normal file
47
checks/secring.asc
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
This is a test secret keyring simply stored by G10 so that
|
||||||
|
it is easier to make diff files.
|
||||||
|
|
||||||
|
-----BEGIN PGP ARMORED FILE-----
|
||||||
|
Version: G10 v0.2.6a (Linux)
|
||||||
|
Comment: This is an alpha version!
|
||||||
|
|
||||||
|
0CEjY3JlYXRlZCBieSBHMTAgcHJlLXJlbGVhc2UgMC4yLjOVATwDNOCAYgAAEAMAmoQno133VDN2
|
||||||
|
2eH4mu5rp1/r0lr5oA9GDsjLYK+168aWTgtXF0Z0HDZfrwPmKwkQRGNlDZq9u/sDvqWsOD8/iTfs
|
||||||
|
Aw2ttLw5guxVz4glVUkKPBHUgYLLX8mp4mNEEwJTAAMGAwCRofUsRkFHkRMV7Q49hC7fcxiEjkfK
|
||||||
|
D0LcOLGI2EcOCN6LX/b63lYR5HHvHXKSOsphrFDSaZpBcBuQwIlrebwt/mJk/5toEvfciurVi8RE
|
||||||
|
71DDxauUF39VBHSlpVNUU9QqxHU7aC/6ZOcDANvYAX94QBCwQYFHrWImXn6G7R2cVwb2FDdAe09x
|
||||||
|
yhuHtlKgqYUpIRwABxQ5t4Om7qtpREgw0+3qmd0MvM1aML0n/iR0j5VMU7XDADTsjTdgcSceeD8E
|
||||||
|
MPEZCaLhPL4MYixM0CojOkVMR19mYWN0b3I6AADKAkyle+oZTPXfo8FNmdThiRLmJnTxpuwc703Q
|
||||||
|
KiM6RUxHX2ZhY3RvcjoAAMoCegq2RsvfEuO/qF0CsclcOog2TsD9tXH209AqIzpFTEdfZmFjdG9y
|
||||||
|
OgAAygIO88tyNbejUlzwoi5TSONsEctDCX4rwWEbtBR0ZXN0IG9uZSAoSU5TRUNVUkUhKYjXAwUT
|
||||||
|
NOCAY+VoKss++ISjEAPQfwL/bgYfiGpD90iYXd53blm8ABFJ8jgP298rqvdX0T9WjjTVRkOCAP7o
|
||||||
|
uDe1EF0z5uEo4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FsTrAsjRADWzwDHi3HpD8ItRWrt9Gurr1D5wuCUPgIn43rNr8/D24At0OhilYR
|
||||||
|
fMht9yBxdnyrTEz2qyPplyjFe0RNAR/Hupkc9qN130ZRlTAT0W4uuILVOVolddPS7BcWhKDCBWz/
|
||||||
|
tmYDv27Wjc0DHjtHvqOm0GyXwYDvgZ2otQ0ONybxNcwoHQrY2X7mjFvtZsoabCKOStZ5IGPB82GQ
|
||||||
|
MnliyjEAS/ZBMgxqSWWWw/kB1AXIUD8T8CD2YLR7e38uFFzUY4Ed1lTgVzYUomHf1BRjUKM==9MjE
|
||||||
|
-----END PGP ARMORED FILE-----
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user