diff --git a/Kernel/GenericInterface/Operation/Ticket/TicketCreate.pm b/Kernel/GenericInterface/Operation/Ticket/TicketCreate.pm index 94a0fb8e53..5f5869d8e7 100644 --- a/Kernel/GenericInterface/Operation/Ticket/TicketCreate.pm +++ b/Kernel/GenericInterface/Operation/Ticket/TicketCreate.pm @@ -154,6 +154,13 @@ perform TicketCreate Operation. This will return the created ticket number. }, # Signing and encryption, only used when ArticleSend is set to 1 + EmailSecurity => { + Backend => 'PGP', # PGP or SMIME + Method => 'Detached', # Optional Detached or Inline (defaults to Detached) + SignKey => '81877F5E', # Optional + EncryptKeys => [ '81877F5E', '3b630c80' ], # Optional + }, + # or: Sign => { Type => 'PGP', SubType => 'Inline|Detached', @@ -1730,7 +1737,7 @@ sub _TicketCreate { } # signing and encryption - for my $Key (qw( Sign Crypt )) { + for my $Key (qw( Sign Crypt EmailSecurity )) { if ( IsHashRefWithData( $Article->{$Key} ) ) { $ArticleParams{$Key} = $Article->{$Key}; } diff --git a/Kernel/GenericInterface/Operation/Ticket/TicketUpdate.pm b/Kernel/GenericInterface/Operation/Ticket/TicketUpdate.pm index ea7da43b7a..52a550ac68 100644 --- a/Kernel/GenericInterface/Operation/Ticket/TicketUpdate.pm +++ b/Kernel/GenericInterface/Operation/Ticket/TicketUpdate.pm @@ -154,6 +154,13 @@ if applicable the created ArticleID. }, # Signing and encryption, only used when ArticleSend is set to 1 + EmailSecurity => { + Backend => 'PGP', # PGP or SMIME + Method => 'Detached', # Optional Detached or Inline (defaults to Detached) + SignKey => '81877F5E', # Optional + EncryptKeys => [ '81877F5E', '3b630c80' ], # Optional + }, + # or: Sign => { Type => 'PGP', SubType => 'Inline|Detached', @@ -2279,7 +2286,7 @@ sub _TicketUpdate { } # signing and encryption - for my $Key (qw( Sign Crypt )) { + for my $Key (qw( Sign Crypt EmailSecurity )) { if ( IsHashRefWithData( $Article->{$Key} ) ) { $ArticleParams{$Key} = $Article->{$Key}; }