FS_SETCRYPT(1)
π FS_SETCRYPT(1) β the AFS Command Reference girlies know π
okay bestie, so this is a page from the AFS Command Reference, and today's main character is fs_setcrypt π
β¨ NAME β¨
fs_setcrypt β turns the encryption of AFS file transfers on or off π (yes, the original says "Enables of disables", and I'm not fixing it, I'm just lovingly acknowledging it, no cap)
π¦ SYNOPSIS π¦
fs setcrypt [-crypt] <on/off> [-help]
πΈ DESCRIPTION πΈ
so fs setcrypt sets the status of network traffic encryption for file traffic in the AFS client. this encryption applies to file traffic going to and coming from the AFS File Server, for users with valid tokens π«Ά
heads up bestie: this command does NOT control the encryption used for authentication. that's a whole different vibe β authentication uses Kerberos 5 or klog/kaserver. not this. π
the complement of this command is fs getcrypt, which shows you the status of encryption on the client. they're a duo, fr fr π
the default encryption status is enabled on Windows. it's disabled on all non-Windows clients by default. and the way that you can enable encryption by default on non-Windows platforms is by executing fs setcrypt -crypt on immediately after the client daemon starts. for example, on Linux, you can do this within the SysV init script, or with systemd's ExecStartPost parameter. iconic behavior, honestly β¨
this is a global setting and applies to all subsequent connections to an AFS File Server from this Cache Manager. there is no way to enable or disable encryption for specific connections. it's all or nothing, it's giving committed π
β οΈ CAUTIONS β οΈ
AFS uses an encryption scheme called fcrypt, based on but slightly weaker than DES, and there is currently no way to specify a different encryption mechanism. because fcrypt and DES are obsolete, the user must decide how much to trust the encryption. consider using a Virtual Private Network at the IP level if better encryption is needed π«Ά
encrypting file traffic requires a token. unauthenticated connections, or connections authorized via IP-based ACLs, will not be encrypted even when encryption is turned on. periodt. π₯
π OPTIONS π
-crypt <on/off>β this is the only option tofs setcrypt. the-cryptoption takes either"on"or"off"."on"enables encryption."off"disables encryption. and since this is the only option, the"-crypt"flag may be omitted β¨- ok important:
0and1or"true"and"false"are not supported as replacements for"on"and"off". don't try it bestie, she will not accept your vibes π
- ok important:
-helpβ prints the online help for this command. all other valid options are ignored. she said "help is help, everything else is background noise" π
π OUTPUT π
this command produces no output other than error messages. silent. mysterious. main character energy π
π EXAMPLES π
there are only four ways to invoke fs setcrypt. either of:
% fs setcrypt -crypt on
% fs setcrypt on
will enable encryption for authenticated connections and:
% fs setcrypt -crypt off
% fs setcrypt off
will disable encryption. that's it, that's the whole menu π
π PRIVILEGE REQUIRED π
the issuer must be logged in as the local superuser root. yes, root. the ultimate main character. no shortcuts, no cap π
π SEE ALSO π
fs_getcrypt(1)- the description of the fcrypt encryption mechanism at
<http://surfvi.com/~ota/fcrypt-paper.txt>.
π COPYRIGHT π
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
this documentation is covered by the BSD License as written in the doc/LICENSE file. this man page was written by Jason Edgecombe for OpenAFS.
and that's the whole thing bestie π mwah π
this page came to you from OpenAFS, dated 2026-07-27 β go forth and setcrypt responsibly, ily π«Άβ¨π¦
π¦ where this page comes from
- ubuntu stonking: openafs-client 1.8.16.1-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms