Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion Kernel/GenericInterface/Operation/Ticket/TicketCreate.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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};
}
Expand Down
9 changes: 8 additions & 1 deletion Kernel/GenericInterface/Operation/Ticket/TicketUpdate.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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};
}
Expand Down
Loading