PUBLICKEY(5)

πŸ“¦ version 14.5, in freebsd 14.5

πŸ—οΈ publickey(5) β€” public key database πŸ—οΈ

okay so bestie, this is publickey(5), a File Formats Manual page about the public key database, and it's giving secure RPC realness ✨ no cap.

πŸ’– NAME πŸ’–

publickey β€” public key database, periodt πŸ’…

✨ SYNOPSIS ✨

/etc/publickey

πŸ¦‹ DESCRIPTION πŸ¦‹

So /etc/publickey is the public key database used for secure RPC (Remote Procedure Calls) 🫢. It's literally where that data lives.

Each entry in the database consists of a network user name β€” which may either refer to a user or a hostname, iykyk β€” followed by the user's public key (in hex notation), a colon, and then the user's secret key encrypted with its login password (also in hex notation) πŸ’–. Like, exact order, bestie: network user name, public key, colon, encrypted secret key.

This file is altered either by the user through the chkey(1) command or by the system administrator through the newkey(8) command πŸ”₯. So yeah, it's not just a free-for-all.

important vibe check: /etc/publickey should only contain data on the NIS master machine, where it is converted into the NIS database publickey.byname πŸ‘‘. That part is a big deal, fr fr.

🌈 SEE ALSO 🌈


okay that's the whole page, bestie πŸ’… this publickey(5) page is from Debian, dated October 19, 1987 β€” vintage but still slaying πŸŽ€πŸ¦‹
πŸ“¦ where this page comes from