Expand the designated signers to user ID, email, and domain queries.

- This allows one to require a signature from sequoia-pgp.org, for
    example.

  - See #248.
This commit is contained in:
Justus Winter 2024-11-11 17:43:05 +01:00
parent 16941dea66
commit bfdd0a9558
No known key found for this signature in database
GPG Key ID: 686F55B4AB2B3386
3 changed files with 3 additions and 3 deletions

View File

@ -109,7 +109,7 @@ pub struct Command {
pub signatures: Option<usize>,
#[command(flatten)]
pub signers: CertDesignators<CertFileArgs,
pub signers: CertDesignators<FileCertUserIDEmailDomainArgs,
SignerPrefix,
OptionalValue,
ToVerifyDoc>,

View File

@ -70,7 +70,7 @@ inline.
pub signature: Option<String>,
#[command(flatten)]
pub signers: CertDesignators<CertFileArgs,
pub signers: CertDesignators<FileCertUserIDEmailDomainArgs,
SignerPrefix,
OptionalValue,
ToVerifyDoc>,

View File

@ -126,7 +126,7 @@ pub struct Command {
pub signatures: usize,
#[command(flatten)]
pub signers: CertDesignators<CertFileArgs,
pub signers: CertDesignators<FileCertUserIDEmailDomainArgs,
SignerPrefix,
OptionalValue,
ToVerifyDoc>,