Skip to content

Commit

Permalink
Fix sop inline-detach
Browse files Browse the repository at this point in the history
  • Loading branch information
twiss committed Nov 18, 2024
1 parent 34d4095 commit d931bdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sop-openpgp.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ yargs
handler: async (argv) => { inlineVerify(argv.certfiles, argv.verificationsOut); }
})
.command({
command: 'inline-detach <certfile>',
command: 'inline-detach',
describe: 'Split Signatures from an Inline-Signed Message',
builder: {
'signatures-out': {
Expand Down
6 changes: 3 additions & 3 deletions test/run
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ echo 'Test inline verifying message signature'
diff $res test/message.txt

echo 'Test inline detaching message signature'
./sopenpgpjs inline-detach test/alice.asc < test/signed-text-message.txt > $res
./sopenpgpjs inline-detach < test/signed-text-message.txt > $res
diff $res test/message.txt

echo 'Test inline signing binary'
Expand All @@ -80,7 +80,7 @@ echo 'Test inline verifying binary message signature'
diff $res test/message.txt

echo 'Test inline detaching binary message signature'
./sopenpgpjs inline-detach test/alice.asc < test/signed-binary-message.txt > $res
./sopenpgpjs inline-detach < test/signed-binary-message.txt > $res
diff $res test/message.txt

echo 'Test inline signing clearsigned'
Expand All @@ -94,7 +94,7 @@ echo 'Test inline verifying clearsigned message signature'
diff $res test/message.txt

echo 'Test inline detaching clearsigned message signature'
./sopenpgpjs inline-detach test/alice.asc < test/clearsigned-message.txt > $res
./sopenpgpjs inline-detach < test/clearsigned-message.txt > $res
diff $res test/message.txt

echo 'Test generating key'
Expand Down

0 comments on commit d931bdb

Please sign in to comment.