# PGP file encryption

**URL:** <https://www.ruby-forum.com/t/pgp-file-encryption/119731>\
**Category:** Rails\
**Created:** [November 9, 2007, 6:14pm UTC](https://www.ruby-forum.com/t/pgp-file-encryption/119731 "2007-11-09T18:14:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@dan](https://www.ruby-forum.com/u/dan)\
**Post date:** [November 9, 2007, 6:14pm UTC](https://www.ruby-forum.com/t/pgp-file-encryption/119731/1 "2007-11-09T18:14:25Z")

</div>

I’ve need to automate file encryption using PGP. Has anyone had any  
experiences with this that they can share? I’m having difficulty  
searching for this because of so many PGP signatures on posts. Thanks  
much.

---

<div class="post-metadata">

**Author:** ![dan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@dan](https://www.ruby-forum.com/u/dan)\
**Post date:** [November 10, 2007, 7:44pm UTC](https://www.ruby-forum.com/t/pgp-file-encryption/119731/2 "2007-11-10T19:44:49Z")

</div>

I implemented PGP signing of outgoing mail in Perl, using the gpg  
binary directly. Sure, it won’t work on windows, but I controlled the  
horizontal and vertical, and could mandate Unix-like OS.

–Michael
