aespasswd(1)
β¨ aespasswd(1) β General Commands Manual π
Okay bestie, so the manual name here is aespasswd π and it's giving "make and manage an AES keyfile" π π
πΈ NAME
aespasswd β used to create and manage an AES keyfile. π¦
π§ SYNOPSIS
aespasswd [-n] [-d] -f keyfile identity
π OPTIONS
-nβ create the keyfile β¨-dβ delete the given identity from the keyfile ποΈ-f keyfileβ the file that holds your identity/key pairs π
π DESCRIPTION
okay so aespasswd is the go-to for making and managing files that hold identity/key pairs π«Ά it's mainly used to manage the bwctld.keys file for bwctld and the owampd.keys file for owampd π
if you don't use -d, aespasswd asks you for a passphrase π that passphrase gets hashed with an internal MD5 algorithm to make a key, and then the key gets saved in the keyfile under your identity. if that identity is already in there, the old key gets overwritten with the new one π no cap, it's a full glow-up.
keyfiles made by aespasswd are formatted for use with BWCTL and OWAMP π
π¦ KEYFILE FORMAT
aespasswd writes lines that look like this:
test 54b0c58c7ce9f2a8b551351102ee0938
so it's an identity, then whitespace, then a hex encoded 128-bit number π₯ that's the one that works as a symmetric AES key. literally iconic.
no other text is allowed on these lines, but you can add comment lines π a comment line is any line where the first non-whitespace character is #.
π EXAMPLES
aespasswd -f /etc/bwctl/bwctld.keys testuser
adds a key for the identity testuser π you get prompted for a passphrase. if the file doesn't exist, you'll get an error message and nothing happens π
aespasswd -f /etc/bwctl/bwctld.keys -n testuser
creates the file first, then does the same as above β¨ if the file already exists, you'll get an error message and nothing happens π
aespasswd -f /etc/bwctl/bwctld.keys -d testuser
deletes the identity testuser from the keyfile ποΈ if the file doesn't exist, you'll get an error message and nothing happens π
π SECURITY CONSIDERATIONS
the keys in the keyfile are not encrypted in any way π the security of these keys is totally dependent on the security of the system and the discretion of the system administrator. be careful, bestie!
π§ RESTRICTIONS
identity names are restricted to 16 characters, and passphrases are limited to 1024 characters π
π SEE ALSO
owping(1), owampd(1), bwctl(1), bwctld(1) and the http://e2epi.internet2.edu/owamp and http://e2epi.internet2.edu/bwctl web sites π
π«Ά ACKNOWLEDGMENTS
this material is based in part on work supported by the National Science Foundation (NSF) under Grant No. ANI-0314723. any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the NSF πΈ
Source/version and date: aespasswd(1), General Commands Manual, last updated 2004 Feb 8 ππ Stay iconic, bestie! π β¨
π¦ where this page comes from
- debian bookworm: i2util-tools 1.6-1+b1 Β· Apache-2.0
- ubuntu jammy: i2util-tools 1.6-1 Β· Apache-2.0
- ubuntu noble: i2util-tools 1.6-1build1 Β· Apache-2.0
- Copyright (C) 2004 #
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms