codesections · @codesections
2554 followers · 8513 posts · Server fosstodon.org

@YesIKnowIT

> ostechnix.com/4-easy-ways-to-g
My preferred :
openssl rand 14 -base64
gpg --gen-random --armor 1 14
... but the passwords are not easy to remember. A good argument to use a password manager.

I ended up writing (github.com/codesections/pass-g) to solve that problem. It's another xkcd-style solution, though with a bigger dictionary and more customization options than many takes on that solution

#passgen

Last updated 5 years ago

codesections · @codesections
2588 followers · 8522 posts · Server fosstodon.org

@YesIKnowIT

> ostechnix.com/4-easy-ways-to-g
My preferred :
openssl rand 14 -base64
gpg --gen-random --armor 1 14
... but the passwords are not easy to remember. A good argument to use a password manager.

I ended up writing (github.com/codesections/pass-g) to solve that problem. It's another xkcd-style solution, though with a bigger dictionary and more customization options than many takes on that solution

#passgen

Last updated 5 years ago

codesections · @codesections
2554 followers · 8513 posts · Server fosstodon.org

@profoundlynerdy@mastodon.technology @codesections

> Perl has the advantage of being installed *everywhere*.

That's an interesting perspective. One of the reasons I wrote (which is a rewrite of xkpasswd with some added features) was that I was tired of installing for just that one program.

#passgen #bash #perl

Last updated 5 years ago

codesections · @codesections
2588 followers · 8522 posts · Server fosstodon.org

@profoundlynerdy@mastodon.technology @codesections

> Perl has the advantage of being installed *everywhere*.

That's an interesting perspective. One of the reasons I wrote (which is a rewrite of xkpasswd with some added features) was that I was tired of installing for just that one program.

#passgen #bash #perl

Last updated 5 years ago

codesections · @codesections
2553 followers · 8513 posts · Server fosstodon.org

@gentoorebel

Also, on the subject of "why yes I rewrote that in bash, why?", you might be interested in one of my side projects: , a full passphrase generator based off similar principles to diceware or other word-list based passphrase generators. It's pure bash and plays well with standard input/output.

passgen.codesections.com

#passgen

Last updated 6 years ago

codesections · @codesections
2553 followers · 8513 posts · Server fosstodon.org

@brennen Agreed! has a man page—and, yeah, it took about as long to write as the program itself, but it was worth it!

#passgen

Last updated 6 years ago

codesections · @codesections
2553 followers · 8513 posts · Server fosstodon.org

@peanutbutter144

I'm also a happy user of pass—so happy that I built a bit of a companion app called (passgen.codesections.com).

It's a passphrase generator that uses the same style as pass. (Because a passphrase will be both more secure and easier to type than a password) It pipes it output to standard out, so it works well with pass: you can generate a new password and store it with pass with `pass-gen -e | pass -e USERNAME`

End of self promotion, but yeah, pass is really great!

#passgen

Last updated 6 years ago

codesections · @codesections
2553 followers · 8513 posts · Server fosstodon.org

@mike @Qwxlea

Interesting. I wouldn't say that I live in the shell—rather, I live in the *terminal*. I use zsh commands a lot, of course, but I also write bash, python, or javascript scripts frequently; I don't feel the need to link everything together.

I wonder if some of this comes from a developer vs. sysadmin use cases. I write a fair bit of bash—including , my most developed project so far—but I don't think I've every written an *inline* script.

Interesting perspective!

#passgen #foss

Last updated 6 years ago

codesections · @codesections
2553 followers · 8513 posts · Server fosstodon.org

@kev Another language I'd put in the mix for those goals is . It's not quite as versatile as others, but it's still very powerful. It's what and my own are written in, for example. And for simple automation in environment, it really can't be beat.

Plus, anyone who is comfortable with the command line is halfway to knowing .

The second half of The Linux Command Line has a great introduction to bash. Plus, it's free under a CC license: linuxcommand.org/tlcl.php

#pass #bash #passgen #linux

Last updated 6 years ago

codesections · @codesections
2553 followers · 8513 posts · Server fosstodon.org

@manulfk

I'm a big fan of , which is a CLI tool that stores passwords in a -encrypted repo (there are non-CLI clients for it) passwordstore.org/

I like pass so much that I wrote a passphrase generator in the same spirit, called (passgen.codesections.com). It's a tool that generates passphrases that are secure and easier to type in (for those occasions when you can't paste from a password manager).

#pass #gpg #git #passgen #foss

Last updated 6 years ago

codesections · @codesections
2553 followers · 8514 posts · Server fosstodon.org

@puffinux Oh, this is fun—I'll try to stick to your format:
Programs I use with () as my OS:

+ dmenu (display manager)
(browser)
(text editor)
+ qutebrowser (mastodon)
+ (IRX)
+ vim (encrypted chat)
(email)
(image viewer)
(screenshots)
(terminal emulator)
(terminal multiplexer)
(PDF viewer)
+ (password manager)

#linux #arch #dwm #qutebrowser #neovim #vim #weechat #znc #keybase #mutt #feh #scrot #simpleterminal #tmux #mupdf #pass #passgen #foss #floss #opensource #freesoftware

Last updated 6 years ago

codesections · @codesections
2553 followers · 8514 posts · Server fosstodon.org

@d4klutz I'm a huge fan of passwordstore.org/ — so much so that I built a passhrase generator in the same spirit (though it works with other managers too)

https://passgen codesections.com

#pass #passgen

Last updated 6 years ago

codesections · @codesections
2553 followers · 8514 posts · Server fosstodon.org

Turns out that the top I've used or favorited on Mastodon are:

(65)
(60)
(51)
(41)
(39)
(32)
(30)
(27)
(18)
(17)

I'm pretty happy with that as a summary of my conversations on here.

(Thanks to @kensanata 's useful mastodon-archive tool for generating this info. github.com/kensanata/mastodon-)

#rust #introductions #introduction #gutenberg #linux #foss #mastodon #fosstodon #passgen #arch #hashtags

Last updated 6 years ago

codesections · @codesections
2553 followers · 8514 posts · Server fosstodon.org

@crodges

If you're a big user of , you might also like my current project, . passgen.codesections.com

It's CLI app that generates passphrases that can be piped on to pass. For example, `pass-gen -e | pass add <username>` generates a new passphrase and pipes the adds it to a pass store.

passgen creates passphrases that are much easier to type in if a site ever blocks you from pasting or if you need to use a different computer—and they're even more secure.

@coffee

#pass #foss #passgen

Last updated 6 years ago

codesections · @codesections
2553 followers · 8514 posts · Server fosstodon.org

@coffee

Definitely going to be trying this out when I get some time later this afternoon—it sounds very cool!

(Welcome to the club of members who've worked on companion software to . I didn't expect to have company in that particular club!)

#fosstodon #pass #passgen

Last updated 6 years ago

codesections · @codesections
2553 followers · 8514 posts · Server fosstodon.org

Just how concerned should I be by a message from Gmail saying that someone attempted to reset my password from Texas (no where near where I live)? I've already changed my password ( made it easy to come up with a new one), and I have two-factor authentication enabled. And gmail isn't my primary email, but it's still one I don't want to have compromised.

I figure it's probably someone with a similar email address miss-typing their address, but wanted to ask how worried I should be.

#passgen

Last updated 6 years ago

codesections · @codesections
2553 followers · 8514 posts · Server fosstodon.org

@alatiera
I disagree, at least for nouns. Imagine I want to toot about a new version of an open-source project. Which sounds better:

> I just released v0.5 of , the passphrase generator that follows the philosophy.

Or:

> I just released v0.5 of passgen, the passphrase generator that follows the unix philosophy.

The first clearly and correctly signals that the hashtag is a link to related content; by my lights, it's much better. You disagree?

#passgen #unix

Last updated 6 years ago

codesections · @codesections
2553 followers · 8514 posts · Server fosstodon.org

@bryangruneberg

I might have mentioned this already, but I wrote a companion-app of sorts to pass. My app, , generates secure random passphrases (instead of passwords), since they're much easier to type whenever you can't paste. It's designed to work well with (well, with anything that accepts standard input, but pass is what I use). To generate a new passphrase for pass, you'd just run `pass-gen -e | pass add <username>`.

More info at passgen.codesections.com
j

#passgen #pass

Last updated 6 years ago

codesections · @codesections
2553 followers · 8514 posts · Server fosstodon.org

@ObjFW
I think that depends some on your workflow. I'm of the "commit early, commit often" school of thought—it makes `git bisect` so useful! So, for example, my project already has over 50 commits. github.com/codesections/pass-g If I'd tooted about each one, I'm sure it would have annoyed people.

What I've done instead is to toot about each of the four versions I've released, which (hopefully!) isn't annoying.

#git #passgen

Last updated 6 years ago

codesections · @codesections
2553 followers · 8514 posts · Server fosstodon.org

@fleischie28

One question, though:

For the version, did you consider using `dev/urandom` to generate your random numbers? That would give you much stronger random numbers, suitable for more secure use. For example, you could use `$(( $MIN + $(od -An -N2 -i /dev/urandom) % ($MAX - $MIN + 1) ))` to generate an integer between MAX and MIN (and then divide to get it within your 0–1) range).

That's the basic approach to randomness I take in (passgen.codesections.com/)

#linux #passgen

Last updated 6 years ago