geekmug / sgsp

SCSI Generic Security Protocol Tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

SCSI Generic Security Protocol Tool

License:Apache License 2.0


Languages

Language:Python 100.0%