diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-11-28 15:27:33 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-11-28 16:26:43 +0100 |
commit | bbbc6da375d6584c7b2bcc74e838fff943f489d4 (patch) | |
tree | 0a965698c96dbc0fc8541c6adc2224935b68bc07 /tool/src/commands/sign.rs | |
parent | f53c77752ff04c3713c175a76a06723042e681ae (diff) |
Call TPKs Certificates, update identifiers, documentation.
- Fixes #387.
Diffstat (limited to 'tool/src/commands/sign.rs')
-rw-r--r-- | tool/src/commands/sign.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tool/src/commands/sign.rs b/tool/src/commands/sign.rs index 787a7889..a2303fba 100644 --- a/tool/src/commands/sign.rs +++ b/tool/src/commands/sign.rs @@ -19,7 +19,7 @@ use crate::openpgp::serialize::stream::{ use crate::create_or_stdout; pub fn sign(input: &mut dyn io::Read, output_path: Option<&str>, - secrets: Vec<openpgp::TPK>, detached: bool, binary: bool, + secrets: Vec<openpgp::Cert>, detached: bool, binary: bool, append: bool, notarize: bool, force: bool) -> Result<()> { match (detached, append|notarize) { @@ -32,7 +32,7 @@ pub fn sign(input: &mut dyn io::Read, output_path: Option<&str>, } fn sign_data(input: &mut dyn io::Read, output_path: Option<&str>, - secrets: Vec<openpgp::TPK>, detached: bool, binary: bool, + secrets: Vec<openpgp::Cert>, detached: bool, binary: bool, append: bool, force: bool) -> Result<()> { let (mut output, prepend_sigs, tmp_path): @@ -129,7 +129,7 @@ fn sign_data(input: &mut dyn io::Read, output_path: Option<&str>, } fn sign_message(input: &mut dyn io::Read, output_path: Option<&str>, - secrets: Vec<openpgp::TPK>, binary: bool, notarize: bool, + secrets: Vec<openpgp::Cert>, binary: bool, notarize: bool, force: bool) -> Result<()> { let mut output = create_or_stdout(output_path, force)?; |