https://tiddlywiki.com/

this can be very handy and you can store and encrypt a whole bunch of data
(not only passwords)  in a single html file.

On Tue, Sep 29, 2020 at 5:28 PM bijan <[email protected]> wrote:

> On 9/28/20 11:12 PM, Jacqueline Jolicoeur wrote:
> >> Simply Text File encryption is suitable too to hide some info from
> plain text files I have.
> >
> > You can encrypt text files simply using tools in the base system.
> >
> > EXAMPLES
> >
> > Edit, encrypt, and erase:
> >
> > $ vi file.txt
> > $ openssl aes-256-cbc -a -iter 100000 -in file.txt -out file.txt.enc
> > $ rm -P file.txt
> >
> > Restore, and edit:
> >
> > $ openssl aes-256-cbc -d -a -iter 100000 -in file.txt.enc -out file.txt
> > $ vi file.txt
> >
> > SEE ALSO
> >       openssl(1), rm(1)
> >
>
> Hmmm, very interesting idea.
>
> It is also possible to invoke external commands on vi(1) buffer and
> replace the content by it's output.
>
> For example:
>
> $ vi
> # Write a few words or so
> # To encrypt, run
> :%!openssl aes-256-cbc -e -a -iter 100000 -pass 'pass:123'
> # To decrypt, run
> :%!openssl aes-256-cbc -d -a -iter 100000 -pass 'pass:123'
>
> although I coundn't find a workaround for entering the password from
> standard input, It should be doable, I guess.
>
>

Reply via email to