logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

fs_setcrypt - Enables of disables the encryption of AFS file transfers

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.

Description

       The fssetcrypt command 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.  This command does not control the encryption used for authentication, which uses Kerberos 5 or
       klog/kaserver. The complement of this command is fsgetcrypt, which shows the status of encryption on the
       client.

       The default encryption status is enabled on Windows. It is disabled on all non-Windows clients by
       default. You may enable encryption by default on non-Windows platforms by executing fssetcrypt-crypton
       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.

       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.

Examples

       There are only four ways to invoke fssetcrypt.  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.

Name

       fs_setcrypt - Enables of disables the encryption of AFS file transfers

Options

-crypt <on/off>
           This  is  the  only option to fssetcrypt. The -crypt option takes either "on" or "off". "on" enables
           encryption. "off" disables encryption. Since this is the  only  option,  the  "-crypt"  flag  may  be
           omitted.

           0 and 1 or "true" and "false" are not supported as replacements for "on" and "off".

       -help
           Prints the online help for this command. All other valid options are ignored.

Output

       This command produces no output other than error messages.

Privilege Required

       The issuer must be logged in as the local superuser root.

See Also

fs_getcrypt(1)

       The description of the fcrypt encryption mechanism at <http://surfvi.com/~ota/fcrypt-paper.txt>.

Synopsis

fssetcrypt [-crypt] <on/off> [-help]

See Also