2025-09-14 18:48:49 -06:00
|
|
|
# yadm transcrypt
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
> If `transcrypt` is installed, this command allows you to pass options directly to `transcrypt`.
|
|
|
|
|
> With the environment configured to use the yadm repository.
|
|
|
|
|
> Transcrypt enables transparent encryption and decryption of files in a Git repository.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://github.com/elasticdog/transcrypt#command-line-options>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Set the symmetric cipher to utilize for encryption:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`yadm transcrypt {{[-c|--cipher]}} {{cipher}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Pass the password to derive the key from:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`yadm transcrypt {{[-p|--password]}} {{password}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Assume yes and accept defaults for non-specified options:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`yadm transcrypt {{[-y|--yes]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display the current repository's cipher and password:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`yadm transcrypt {{[-d|--display]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Re -encrypt all encrypted files using new credentials:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`yadm transcrypt {{[-r|--rekey]}}`
|