CLEVIS-ENCRYPT-FIL(1)
π CLEVIS-ENCRYPT-FIL(1) π
okay bestie, welcome to the manual page for clevis-encrypt-file β yes the header says CLEVIS-ENCRYPT-FIL(1) bc the terminal is a hater and clipped it, don't worry about it, she's still iconic β¨
πΈ NAME πΈ
clevis-encrypt-file β Encrypts using a file policy πβ¨
π SYNOPSIS π
clevis encrypt file CONFIG < PT > JWE
π¦ OVERVIEW π¦
so the clevis encrypt file command encrypts using a file policy, periodt. its only argument is the JSON configuration object β that's it, that's the whole job, and she does it flawlessly π
encrypting data using the file pin works like this:
$ clevis encrypt file '{"name":"/path/to/file"}' < PT > JWE
The given file must not exist yet. like... it has to be brand new, no cap. if it's already there, that's not it π
to decrypt the data, just pass it to the clevis decrypt command:
$ clevis decrypt < JWE > PT
and boom, you're back. the way that just works ππ«Ά
β CONFIG β
this command uses the following configuration properties:
name(string) : The name to the file where the jwk is stored (REQUIRED) π₯
<!-- -->
like, genuinely REQUIRED. not "required if you feel like it". she will not run without her name, bestie π
π BUGS π
- Requires that directories for that file already exist. so if the folder path isn't there yet, that's a you problem, the command is not your mom π
- Rather for educational purposes. πβ¨
π SEE ALSO π
and that's the whole page bestie!! go forth and encrypt, you absolute main character π§π
this lil masterpiece dropped on 10/16/2026, brought to you by the CLEVIS-ENCRYPT-FIL(1) girlies β¨π bye bye!! π«Ά
π¦ where this page comes from
- fedora 44: clevis 24-1.fc44 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms