E-Business Server:How to sign encrypted data with a key other than the default signing key

From SDS
Revision as of 13:31, 8 July 2014 by Badm1 (talk | contribs) (Created page with "=== How to sign encrypted data with a key other than the default signing key === '''Technical Articles ID: SDSKB17''' '''Environment'''<br /> E-Business Server 8.x and 7.x ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to sign encrypted data with a key other than the default signing key

Technical Articles ID: SDSKB17


Environment
E-Business Server 8.x and 7.x


Problem
What command do I use to sign encrypted data with a key other than the default signing key?


Solution
To attach a digital signature to data using a signature that is not set as the default signature, use the --sign-with command, as illustrated in the example below:Example:Default signing key: PGPUSERKey to use for signing: EBSUSER

ebs --encrypt --sign test.txt --user "PGPUSER" --sign-with "EBSUSER"