Avatar

ssm

ssm@lemmy.sdf.org
Joined
7 posts • 169 comments

OpenBSD admin and ports maintainer

Direct message
5 points

Thank you for posting anti-fascist content!

permalink
report
reply

based, IRC is more based though.

permalink
report
reply

PLAP PLAP PLAP

permalink
report
reply

One must imagine skill issue.

I suggest looking at how many dynlibs your password manager links against and tell me it’s “simpler” again.

permalink
report
parent
reply

cropped thumbnail is perfect

permalink
report
reply

/etc/unwind.conf

block list "/var/db/unwind_blocklist"
forwarder { X.X.X.X port X DoT X.X.X.X port X DoT }
preference { DoT }

unwind_blocklist is generated with this script I wrote:

#!/bin/sh
# Blocklists for unwind(8)

blocklist=/var/db/unwind_blocklist
[ ! -f $blocklist ] && \
        (umask 117; touch $blocklist && chgrp _unwind $blocklist)

{
        ftp -V -o - \
            https://blocklistproject.github.io/Lists/alt-version/everything-nl.txt \
            http://winhelp2002.mvps.org/hosts.txt \
            http://sysctl.org/cameleon/hosts \
            https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt \
            https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt \
            https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/android-tracking.txt
        echo twitter.com
        echo www.twitter.com
        echo www.x.com
        echo x.com
        echo facebook.com
        echo www.facebook.com
} | awk -safe '
        !/^M|#|(^|\.)[[:blank:]]*$|^definitely_not_porn$/ {       
                if ($1 ~ /127\.0\.0\.1|0\.0\.0\.0/) {
                        $0 = $2
                }
                if ($0 ~ /[[:upper:]]/) {
                        print tolower($0)
                } else {
                        print $0
                }
        }
' | sort -u >$blocklist
rcctl restart unwind

Regenerates occasionally with cron.

permalink
report
reply

This is truly the question of all time

permalink
report
reply

Why would I use a password manager when this is much simpler and less error-prone?

permalink
report
parent
reply

My password manager is

mkdir ~/Account/some.domain
cd $_
genpasswd | openssl some-cipher -k 'really strong encryption password' >pass.enc
echo username >login
#decrypt
cd ~/Account/some.domain
openssl some-cipher -d <pass.enc | xclip
#paste in field
xclip login
#paste in field

Couldn’t be easier, couldn’t be safer.

permalink
report
reply