Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Installing epa in Windows

51 views
Skip to first unread message

tcsmf...@hotmail.com

unread,
Nov 15, 2012, 10:15:25 PM11/15/12
to
I am trying to encrypt files with emacs on a Windows machine, so I am trying to install the epa package. I downloaded the package from sourceforge.jp/projects/epg/releases. I downloaded and uncompressed epg-0.0.16.tar.gz, but I cannot figure out how to install it. All of the instructions seem to be for linux (but it comes installed in the linux version). (I know the best solution but my wife and daughter want to run Windows on this system.)

Can anyone give me some pointers on installing this package on a Windows machine?

Thanks,
-- Tom

Jambunathan K

unread,
Nov 16, 2012, 12:08:21 AM11/16/12
to tcsmf...@hotmail.com, help-gn...@gnu.org
Have you tried

http://gnupg.org/

specifically GPG4Win pointed from the above link

http://www.gpg4win.org/

> Thanks,
> -- Tom
>

--

Jambunathan K

unread,
Nov 16, 2012, 12:10:05 AM11/16/12
to tcsmf...@hotmail.com, help-gn...@gnu.org
Jambunathan K <kjambu...@gmail.com> writes:
> Have you tried
>
> http://gnupg.org/
>
> specifically GPG4Win pointed from the above link
>
> http://www.gpg4win.org/

You can also install Cygwin and then install the needed Linux packages
as required.

>> Thanks,
>> -- Tom
>>

--

chunhui

unread,
Nov 16, 2012, 11:05:10 AM11/16/12
to
I use gnupg, and it works ok.
the .emacs is:

;; Using symmetric encryption always
(setq epa-file-encrypt-to nil)
;; save the password
(setq epa-file-cache-passphrase-for-symmetric-encryption t)
;; auto-save
(setq epa-file-inhibit-auto-save nil)
(setq epg-gpg-program "/usr/local/bin/gpg")

chunhui

unread,
Nov 16, 2012, 11:20:40 AM11/16/12
to tcsmf...@hotmail.com, help-gn...@gnu.org
(setq epg-gpg-program "PATH/gpg")


Stefan Monnier

unread,
Nov 19, 2012, 9:43:11 AM11/19/12
to
> I am trying to encrypt files with emacs on a Windows machine, so I am trying
> to install the epa package.

The EPA package is included in Emacs, so you don't need to install it.
What you're probably lacking is the actual encryption software (EPA is
only a library to interface Emacs with some external encryption
software).
I.e. you probably want to install GnuPG.


Stefan

tcsmf...@hotmail.com

unread,
Nov 19, 2012, 5:37:18 PM11/19/12
to
Thanks for your help, Stefan and others. With your help I got it working but it doesn't work the way I hoped.

I was trying to create a password manager that didn't store the unencrypted password to disk (which is never erased when deleted), but gpg saves the original file as #filename.gpg#. I have a perl script that creates a random string from a list of characters. It runs fine inside of emacs but then gpg saves it to disk.

I know emacs uses it for encryption but I wish they used a buffer instead.

Any ideas?

Thanks,
-- Tom
0 new messages