The PGP Sign function currently uses the box function from kbpgp. The box-function is meant for encryption. While it is functional it is not creating the correct output. The clearsign function from kbpgp should be used instead. This will create an RFC4880-compliant message with human-readable text and a PGP signature.
To Reproduce
Select the PGP Sign funtion.
Supply a private key and passphrase
Add some random input
The result is a PHP message with the header:
"-----BEGIN PGP MESSAGE-----"
Using the clearsign will create a message with the header:
"-----BEGIN PGP SIGNED MESSAGE-----"
Additional context
I have created PR #2696 to change the function from kbpgp.box to kbpgp.clearsign,
The PGP Sign function currently uses the box function from kbpgp. The box-function is meant for encryption. While it is functional it is not creating the correct output. The clearsign function from kbpgp should be used instead. This will create an RFC4880-compliant message with human-readable text and a PGP signature.
To Reproduce
Select the PGP Sign funtion.
Supply a private key and passphrase
Add some random input
The result is a PHP message with the header:
"-----BEGIN PGP MESSAGE-----"
Using the clearsign will create a message with the header:
"-----BEGIN PGP SIGNED MESSAGE-----"
Additional context
I have created PR #2696 to change the function from kbpgp.box to kbpgp.clearsign,