-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
29 lines (22 loc) · 983 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
SCSI Generic Security Protocol
This tool is designed to manipulate the configuration of SCSI devices that
support the Security Protocol standard. This tool supports toggling the
encryption/decryption mode as well as setting the encryption/decryption key.
====
Dependencies:
- lsscsi (http://sg.danny.cz/scsi/lsscsi.html)
- sg3_utils (http://sg.danny.cz/sg/)
====
Usage: sgsp.py [options] [device]
Options:
-h, --help show this help message and exit
-e, --enable enable encryption/decryption (default)
-d, --disable disable encryption/decryption
-v, --verbose be noisy about everything
-p FD, --password-from-fd=FD
read password from file descriptor num
-P FILE, --password-from-file=FILE
read password from file
-T, --twice ask password twice
-H HASH, --hash=HASH set password hash function (default: sha256)
-r RAW, --raw=RAW disable hashing of password