Hi,
I wonder is there is a confidential simple text editor. It can not keep
temporary files, and it must encrypt/decrypt the file with gpg.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Hi,
I wonder is there is a confidential simple text editor. It can not keep
temporary files, and it must encrypt/decrypt the file with gpg.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
http://www.vim.org/scripts/script.php?script_id=661
Information for package vim-plugin-gnupg:
Repository: openSUSE-12.1-Oss
Name: vim-plugin-gnupg
Version: 3026-11.1.1
Arch: noarch
Vendor: openSUSE
Installed: No
Status: not installed
Installed Size: 37.0 KiB
Summary: Plugin for transparent editing of gpg encrypted files
Description:
This script implements transparent editing of gpg encrypted files. The
filename must have a ".gpg", ".pgp" or ".asc" suffix. When opening such
a file the content is decrypted, when opening a new file the script
will ask for the recipients of the encrypted file. The file content
will be encrypted to all recipients before it is written. The script
turns off viminfo and swapfile to increase security.
–
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.10-1.9-desktop
up 2 days 11:47, 4 users, load average: 0.00, 0.03, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU
–
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.10-1.9-desktop
up 2 days 11:55, 4 users, load average: 0.09, 0.08, 0.06
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU
On 2012-05-07 15:57, malcolmlewis wrote:
> Information for package vim-plugin-gnupg:
Mmm… vim… Not my type of editor…
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
On 2012-05-07 16:02, malcolmlewis wrote:
Interesting. Excessive, though, running off an usb stick, though.
But thanks, you found more that I did.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Hi
There is seahorse-plugins-gedit which adds the option, but
not available, it’s in SLE though…
–
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.10-1.9-desktop
up 2 days 13:14, 4 users, load average: 0.01, 0.03, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU
It’s not available for oS 12.1, but it is supported on 11.4.
Don’t know if you have much knowledge/experience with that program, but is there any reason why they keep insisting it should be run from a USB-stick? From what I can tell it’s just a simple executable (one for GNU/Linux and one for Windows), in which case it should be perfectly usable as a normal locally installed application as well. Will my computer explode or the security be degraded by running it locally (i.e., not from a USB-stick)?
On 2012-05-07 17:23, malcolmlewis wrote:
> Hi
> There is seahorse-plugins-gedit which adds the option, but
> not available, it’s in SLE though…
Ah, a plugin for gedit! Things are getting more interesting. It is
available for 11.4. Why not for 12.1? Ah, perhaps because it is Gnome 3
…]
It is not very good, I’m afraid.
You have to create the file named as something.gpg, then in Edit select
“encrypt”, then save - and it is displayed encrypted.
When you open it, you have to manually select decrypt (twice, perhaps). If
you hit save, it is saved plain, you have to select encrypt, and select the
destinataries again.
I have tried kwrite on the same .gpg file, it is displayed highlighted, but
I do not see how to tell it to decrypt the file. Kate works similarly, and
doesn’t offer decryption. Or there is some other trick (I’m trying inside
gnome).
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
On 2012-05-07 20:36, Quantumboredom wrote:
>
> malcolmlewis;2461144 Wrote:
>> ‘gpgusb-project - news’ (http://gpg4usb.cpunk.de/)
> Don’t know if you have much knowledge/experience with that program, but
> is there any reason why they keep insisting it should be run from a
> USB-stick? From what I can tell it’s just a simple executable (one for
> GNU/Linux and one for Windows), in which case it should be perfectly
> usable as a normal locally installed application as well. Will my
> computer explode or the security be degraded by running it locally
> (i.e., not from a USB-stick)?
No idea… maybe it keeps data or keys in the stick.
I googled for “gpg editor”. There is one hit (one that do not use vi). It
suggests this - which is actually with vi, but can be used with any other
editor:
#!/bin/bash
gpg --decrypt-files $1.gpg
vi $1
gpg --encrypt-files $1
but using the vim plugin is better, as it takes care of temporary files, too.
Ah, a thread discussing issues such an editor should have:
](http://lists.gnupg.org/pipermail/gnupg-users/2007-May/031046.html)
I see another posibility in KDE: fire up kgpg, select file. It actually
works inside gnome, too. But if you click “save” while decrypted, it saves
the decrypted file.
And when crypting, it requires you to select the keys again, it doesn’t
remember which keys I want from the previous time.
A second attempt fails with a cryptic message (in Spanish):
“El documento no se puede guardar debido a que la codificación seleccionada
no está permitida.” which means that the document can not be saved because
the selected codification is not allowed - whatever that means really.
Very similar to what gedit does, actually.
Funny there are not editors doing this correctly.
LibreOffice can also store password protected files, but I don’t know what
method it uses - nor if it protects temporary files.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Hi,
On Mon, 7 May 2012, Carlos E. R. wrote:
> Hi,
>
> I wonder is there is a confidential simple text editor. It can not keep
> temporary files, and it must encrypt/decrypt the file with gpg.
Have you considered Emacs, I know it can edit gpg encrypted files and asks for the passphrase when opening them.
Also, if a file is saved with a .gpg extension it asks for the recipents for encryption and allows you to select from your keys; if none is selected it uses symmetric encryption.
Kind regards,
Barry
On 2012-05-12 14:29, Barry_Nichols@no-mx.forums.opensuse.org wrote:
> Have you considered Emacs, I know it can edit gpg encrypted files and asks
> for the passphrase when opening them.
>
> Also, if a file is saved with a .gpg extension it asks for the recipents
> for encryption and allows you to select from your keys; if none is selected
> it uses symmetric encryption.
No, I haven’t… I try to stay clear from both vi and emacs, and I have
used both. I know they are powerful editors, but I don’t like the interface
of either.
As a matter of fact, I’m using libreoffice writer with password protected
file. I don’t know how strong the encryption is, though, but i only have to
enter the password once (on open) and never forgets to encrypt the file.
Not the solution I would like, though.
I might try emacs again.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)