digitalcourage.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Diese Instanz wird betrieben von Digitalcourage e.V. für die Allgemeinheit. Damit wir das nachhaltig tun können, erheben wir einen jährlichen Vorausbeitrag von 1€/Monat per SEPA-Lastschrifteinzug.

Server stats:

823
active users

Christian Pietsch (old acct.)

If you are a command line and text terminal fan like myself, chances are you are using this trio daily:

for managing ,
for reading and writing ,
for sending out e-mails via weird mail servers such as that mutt cannot talk to directly.

Today I figured out how to make them work together without entering or storing passwords.

I am using GNU/Linux and have agent working.

I used pass to store my e-mail (and ) password under the name uni/mail. This generated the encrypted file ~/.password-store/uni/mail.gpg. So …

In ~/.muttrc, I put:
set imap_pass=`gpg2 --no-tty -q -d ~/.password-store/uni/mail.gpg`

In ~/.msmtprc, I put:
passwordeval gpg2 --no-tty -q -d ~/.password-store/uni/mail.gpg

Whenever I change this password, all I have to do is to store it using pass. The other programs will fetch it from there and decrypt it when they need it.

#CLI#PGP#GnuPG

PS: There is an app called “Password Store” that can sync its database with via . Get it from : f-droid.org/en/packages/dev.ms

Of course, think twice before storing your passwords on a device as insecure as a smartphone or tablet, even if they are PGP-encrypted!

I would not do it on a stock smartphone still containing the manufacturer's bloatware/spyware. Look for cleaner alternatives such as , , or .

f-droid.orgF-Droid - Free and Open Source Android App RepositoryF-Droid is an installable catalogue of FOSS (Free and Open Source Software) applications for the Android platform. The client makes it easy to browse, install, and keep track of updates on your device.

@chpietsch I didn’t realise mutt was still around – I haven’t used it for a couple of decades!

But it was my standard mail client for a good few years, after I was forced to switch from ream 😊

@transponderings Never heard of ream. I used pine before mutt. The latter is still under active development:

– web: mutt.org (seems to have trouble with its TLS cert right now, but you can safely accept it)
– source: gitlab.com/muttmua/mutt
– wiki: gitlab.com/muttmua/mutt/-/wiki

@chpietsch I’d forgotten about pine – must have used that at some point too

Must look at mutt again some time!

@transponderings

I wish I could remember what MUA I used at Edinburgh University when I was a non-graduating student at the AI department in 1996–97. They had Sun SparcStations. It must have been Pine or Elm I guess.

@transponderings

PS: I was able to download the source code of ream v4.18c from web.archive.org/web/2008082804

It dates from the year 2000 and its makefile has a Linux target, too :-)

web.archive.orgC. Meli's homepage