fixed key export: now using big endian byte order for exported

keys, so they're platform independent when transported.
This commit is contained in:
TLINDEN
2013-11-04 14:03:43 +01:00
parent 2f5e1cdd2d
commit d598511a7e
8 changed files with 134 additions and 124 deletions

View File

@@ -50,18 +50,20 @@ dxmorg@florida.cops.gov
expect-file-contains = testkey-self Dexter
</test>
bartid = 0xEA14904F02A39174
bartserial = 0x1A184AFF
<test check-import-public-key>
cmd = $pcp -V $vault -P -I bart.pub
expect = /key 0x0E4512BE47CE0215 added/
expect = /key $bartid added/
</test>
<test check-imported-public-key-info>
cmd = $pcp -V $vault -t -i 0x0E4512BE47CE0215
expect = /Serial Number: 0xEE894128/
cmd = $pcp -V $vault -t -i $bartid
expect = /Serial Number: $bartserial/
</test>
<test check-if-delete-public-key-works>
cmd = $pcp -V $vault -R -i 0x0E4512BE47CE0215
cmd = $pcp -V $vault -R -i $bartid
expect = /Public key deleted/
</test>
@@ -77,8 +79,8 @@ dxmorg@florida.cops.gov
#
# encryption tests
idbobby = 0xCE20289DFB268A3D
idalicia = 0x44713DD4E010C582
idbobby = 0x9BBC8CFD7B519006
idalicia = 0xC7062F147D8C4D91
mailbobby = bobby@local
mailalicia = alicia@local
md5msg = 66b8c4ca9e5d2a7e3c0559c3cdea3d50