Bugzilla::Extension::SecureMail::TCT - An interface to the tct program
my $key = <<'PUBLIC_KEY';
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFakJSsBEACbDwHztgZaVhIb6f4PN0KbXv5BEciqKNbdVLgWQJyqgEMIwTF7
...
o858gRM=
=t9lA
-----END PGP PUBLIC KEY BLOCK-----
PUBLIC_KEY
my $tct = Bugzilla::Extension::SecureMail::TCT->new(public_key => $key);
my $encrypted = $tct->encrypt("message", "comment goes here")->get;