singpolyma / openpgp-php

OpenPGP.php is a pure-PHP implementation of the OpenPGP Message Format (RFC 4880).
http://singpolyma.github.io/openpgp-php/
The Unlicense
179 stars 69 forks source link

Need Documention About How to Armor, Encrypt (Public Key), Sign (Private key) and Compress ZIP in same time #90

Closed lmlbenny closed 3 years ago

lmlbenny commented 4 years ago

can i get some clue to do this in OPENPGP.

gpg --armor -output sample_output.asc cipher ases256 --compress-algo ZIP -s2k-digest-algo SHA256 --encrypt --recipent gogo@go.com --sign - u<> to_be_signed.text

singpolyma commented 3 years ago

https://github.com/singpolyma/openpgp-php/blob/master/examples/armorEncryptSignCompress.php