SPLITKEYS(1)

πŸ’– SPLITKEYS(1) πŸ’–

okay bestie, so this is a General Commands Manual situation β€” it's splitkeys, and it lives in section 1, iykyk πŸŽ€


✨ NAME ✨

splitkeys β€” it splits an OpenPGP keyring. that's the whole job. she's a specialist πŸ’…


🌸 SYNOPSIS 🌸

splitkeys [ maxkeys ]

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically, splitkeys takes one big OpenPGP keyring and goes chop chop πŸ”ͺ✨ into a whole bunch of smaller keyrings, and every single one of them gets named like this:

splitfile-%d.pgp

and the glow-up is that none of these baby keyrings contains more than maxkeys keys. no cap. 🫢

if you don't pass maxkeys at all? she just defaults to 10000 and honestly? valid. main character energy πŸ“


πŸ”₯ EXAMPLES πŸ”₯

this is the part where it gets iconic:

splitkeys 1000 < keyring.gpg

what this does: it splits keyring.gpg into a collection of keyrings, and every one of them has 1000 keys at most. like, 1000. maximum. periodt. πŸ‘‘

not me reading keyring.gpg off stdin with that < β€” redirects are literally the moment, bestie 🧚

πŸ’œ AUTHOR πŸ’œ

splitkeys was written by Jonathan McDowell <noodles@earth.li> β€” absolute legend, we stan 🌈

you can find it as part of onak over at http://www.earth.li/projectpurple/progs/onak.html β€” go look, it's giving classic-internet treasure πŸ’–


⭐ SEE ALSO ⭐

  • onak(1) β€” the rest of the family, go say hi πŸŽ€

k bye bestie, ily πŸ’• this was SPLITKEYS(1) from the General Commands Manual (section 1, obviously) β€” no version number or date on this one, she's timeless like that βœ¨πŸŒΈπŸ¦‹