mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-18 04:10:57 +01:00
fixed key export: now using big endian byte order for exported
keys, so they're platform independent when transported.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user