fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
5012bcb97
master
1#cryptsetup 2.3.5 2 3#variables 4set -l seen __fish_seen_subcommand_from 5set -l actions benchmark bitlkDump close config convert erase isLuks luksAddKey luksChangeKey luksConvertKey luksDump luksFormat luksHeaderBackup luksHeaderRestore luksKillSlot luksRemoveKey luksResume luksSuspend luksUUID open reencrypt repair resize status tcryptDump token 6 7#actions 8complete -c cryptsetup -x -n"not $seen $actions " -a" $actions " 9 10#options 11complete -c cryptsetup -l active-name -d"Override device autodetection of dm device to be reencrypted" 12complete -c cryptsetup -l align-payload -d"Align payload at <n> sector boundaries - for luksFormat" 13complete -c cryptsetup -l allow-discards -d"Allow discards (aka TRIM) requests for device" 14complete -c cryptsetup -l batch-mode -s q -d"Do not ask for confirmation" 15complete -c cryptsetup -l cipher -s c -d"The cipher used to encrypt the disk (see /proc/crypto)" 16complete -c cryptsetup -l debug -d"Show debug messages" 17complete -c cryptsetup -l debug-json -d"Show debug messages including JSON metadata" 18complete -c cryptsetup -l decrypt -d"Decrypt LUKS2 device (remove encryption)" 19complete -c cryptsetup -l deferred -d"Device removal is deferred until the last user closes it" 20complete -c cryptsetup -l device-size -d"Use only specified device size (ignore rest of device) DANGEROUS!" 21complete -c cryptsetup -l disable-keyring -d"Disable loading volume keys via kernel keyring" 22complete -c cryptsetup -l disable-locks -d"Disable locking of on-disk metadata" 23complete -c cryptsetup -l dump-master-key -d"Dump volume (master) key instead of keyslots info" 24complete -c cryptsetup -l encrypt -d"Encrypt LUKS2 device (in-place encryption)" 25complete -c cryptsetup -l force-password -d"Disable password quality check (if enabled)" 26complete -c cryptsetup -l hash -s h -d"The hash used to create the encryption key from the passphrase" 27complete -c cryptsetup -l header -d"Device or file with separated LUKS header" 28complete -c cryptsetup -l header-backup-file -d"File with LUKS header and keyslots backup" 29complete -c cryptsetup -l help -s'?' -d"Show this help message" 30complete -c cryptsetup -l hotzone-size -d"Maximal reencryption hotzone size" 31complete -c cryptsetup -l init-only -d"Initialize LUKS2 reencryption in metadata only" 32complete -c cryptsetup -l integrity -s I -d"Data integrity algorithm (LUKS2 only)" 33complete -c cryptsetup -l integrity-legacy-padding -d"Use inefficient legacy padding (old kernels)" 34complete -c cryptsetup -l integrity-no-journal -d"Disable journal for integrity device" 35complete -c cryptsetup -l integrity-no-wipe -d"Do not wipe device after format" 36complete -c cryptsetup -l iter-time -s i -d"PBKDF iteration time for LUKS (in ms)" 37complete -c cryptsetup -l iv-large-sectors -d"Use IV counted in sector size (not in 512 bytes)" 38complete -c cryptsetup -l json-file -d"Read or write the json from or to a file" 39complete -c cryptsetup -l key-description -d"Key description" 40complete -c cryptsetup -l key-file -s d -d"Read the key from a file" 41complete -c cryptsetup -l key-size -s s -d"The size of the encryption key" 42complete -c cryptsetup -l key-slot -s S -d"Slot number for new key (default is first free)" 43complete -c cryptsetup -l keyfile-offset -d"Number of bytes to skip in keyfile" 44complete -c cryptsetup -l keyfile-size -s l -d"Limits the read from keyfile" 45complete -c cryptsetup -l keyslot-cipher -d"LUKS2 keyslot: The cipher used for keyslot encryption" 46complete -c cryptsetup -l keyslot-key-size -d"LUKS2 keyslot: The size of the encryption key" 47complete -c cryptsetup -l label -d"Set label for the LUKS2 device" 48complete -c cryptsetup -l luks2-keyslots-size -d"LUKS2 header keyslots area size" 49complete -c cryptsetup -l luks2-metadata-size -d"LUKS2 header metadata area size" 50complete -c cryptsetup -l master-key-file -d"Read the volume (master) key from file" 51complete -c cryptsetup -l new-keyfile-offset -d"Number of bytes to skip in newly added keyfile" 52complete -c cryptsetup -l new-keyfile-size -d"Limits the read from newly added keyfile" 53complete -c cryptsetup -l offset -s o -d"The start offset in the backend device" 54complete -c cryptsetup -l pbkdf -d"PBKDF algorithm (for LUKS2): argon2i, argon2id, pbkdf2" 55complete -c cryptsetup -l pbkdf-force-iterations -d"PBKDF iterations cost (forced, disables benchmark)" 56complete -c cryptsetup -l pbkdf-memory -d"PBKDF memory cost limit" 57complete -c cryptsetup -l pbkdf-parallel -d"PBKDF parallel cost" 58complete -c cryptsetup -l perf-no_read_workqueue -d"Bypass dm-crypt workqueue and process read requests synchronously" 59complete -c cryptsetup -l perf-no_write_workqueue -d"Bypass dm-crypt workqueue and process write requests synchronously" 60complete -c cryptsetup -l perf-same_cpu_crypt -d"Use dm-crypt same_cpu_crypt performance compatibility option" 61complete -c cryptsetup -l perf-submit_from_crypt_cpus -d"Use dm-crypt submit_from_crypt_cpus performance compatibility option" 62complete -c cryptsetup -l persistent -d"Set activation flags persistent for device" 63complete -c cryptsetup -l priority -d"Keyslot priority: ignore, normal, prefer" 64complete -c cryptsetup -l progress-frequency -d"Progress line update (in seconds)" 65complete -c cryptsetup -l readonly -s r -d"Create a readonly mapping" 66complete -c cryptsetup -l reduce-device-size -d"Reduce data device size (move data offset) DANGEROUS!" 67complete -c cryptsetup -l refresh -d"Refresh (reactivate) device with new parameters" 68complete -c cryptsetup -l resilience -d"Reencryption hotzone resilience type (checksum,journal,none)" 69complete -c cryptsetup -l resilience-hash -d"Reencryption hotzone checksums hash" 70complete -c cryptsetup -l resume-only -d"Resume initialized LUKS2 reencryption only" 71complete -c cryptsetup -l sector-size -d"Encryption sector size (default: 512 bytes)" 72complete -c cryptsetup -l serialize-memory-hard-pbkdf -d"Use global lock to serialize memory hard PBKDF (OOM workaround)" 73complete -c cryptsetup -l shared -d"Share device with another non-overlapping crypt segment" 74complete -c cryptsetup -l size -s b -d"The size of the device" 75complete -c cryptsetup -l skip -s p -d"How many sectors of the encrypted data to skip at the beginning" 76complete -c cryptsetup -l subsystem -d"Set subsystem label for the LUKS2 device" 77complete -c cryptsetup -l tcrypt-backup -d"Use backup (secondary) TCRYPT header" 78complete -c cryptsetup -l tcrypt-hidden -d"Use hidden header (hidden TCRYPT device)" 79complete -c cryptsetup -l tcrypt-system -d"Device is system TCRYPT drive (with bootloader)" 80complete -c cryptsetup -l test-passphrase -d"Do not activate device, just check passphrase" 81complete -c cryptsetup -l timeout -s t -d"Timeout for interactive passphrase prompt (in seconds)" 82complete -c cryptsetup -l token-id -d"Token number (default: any)" 83complete -c cryptsetup -l token-only -d"Do not ask for passphrase if activation by token fails" 84complete -c cryptsetup -l tries -s T -d"How often the input of the passphrase can be retried" 85complete -c cryptsetup -l type -s M -d"Type of device metadata: luks, luks1, luks2, plain, loopaes, tcrypt, bitlk" 86complete -c cryptsetup -l unbound -d"Create or dump unbound (no assigned data segment) LUKS2 keyslot" 87complete -c cryptsetup -l usage -d"Display brief usage" 88complete -c cryptsetup -l use-random -d"Use /dev/random for generating volume key" 89complete -c cryptsetup -l use-urandom -d"Use /dev/urandom for generating volume key" 90complete -c cryptsetup -l uuid -d"UUID for device to use" 91complete -c cryptsetup -l veracrypt -d"Scan also for VeraCrypt compatible device" 92complete -c cryptsetup -l veracrypt-pim -d"Personal Iteration Multiplier for VeraCrypt compatible device" 93complete -c cryptsetup -l veracrypt-query-pim -d"Query Personal Iteration Multiplier for VeraCrypt compatible device" 94complete -c cryptsetup -l verbose -s v -d"Shows more detailed error messages" 95complete -c cryptsetup -l verify-passphrase -s y -d"Verifies the passphrase by asking for it twice" 96complete -c cryptsetup -l version -s V -d"Print package version" 97 98# subcommands 99complete -c cryptsetup -n"__fish_seen_subcommand_from close status resize" -f -r -a"(path basename /dev/mapper/* | string match -v control)"