Mailing List Archive

rt branch, 4.4/smime-separate-encrypt-and-sign-certs, repushed
The branch 4.4/smime-separate-encrypt-and-sign-certs was deleted and repushed:
was 9352e72a37514afe1b1473fc05343eaeffd07b65
now e9202dbcbff9f0a31098a4ea65d831e2aba3c1ea

1: 7be3c0861 ! 1: 0e0e89fd9 Support separate certificates for SMIME encryption and signing
@@ -115,13 +115,15 @@
my $cmd = [
$self->OpenSSLPath,
@@
- sub GetKeysForEncryption {
my $self = shift;
my %args = (Recipient => undef, @_);
-- return $self->GetKeysInfo( Key => delete $args{'Recipient'}, %args, Type => 'public' );
-+ return $self->GetKeysInfo( Key => delete $args{'Recipient'}, %args, Type => 'public', For => 'Encryption' );
- }
+ my $recipient = delete $args{'Recipient'};
+- my %res = $self->GetKeysInfo( Key => $recipient, %args, Type => 'public' );
++ my %res = $self->GetKeysInfo( Key => $recipient, %args, Type => 'public', For => 'Encryption' );
+ return %res unless $res{'info'};

+ foreach my $key ( splice @{ $res{'info'} } ) {
+@@
sub GetKeysForSigning {
my $self = shift;
my %args = (Signer => undef, @_);
2: 9352e72a3 = 2: e9202dbcb Test separate smime certificates for signing and encryption

_______________________________________________
rt-commit mailing list
rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit