https://github.com/crocs-muni/opal-test-suite

Opal Test Suite

https://github.com/crocs-muni/opal-test-suite

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.7%) to scientific vocabulary
Last synced: 6 months ago · JSON representation

Repository

Opal Test Suite

Basic Info
  • Host: GitHub
  • Owner: crocs-muni
  • License: mit
  • Language: Shell
  • Default Branch: main
  • Homepage:
  • Size: 58.6 KB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 6
  • Releases: 0
Created over 1 year ago · Last pushed 10 months ago
Metadata Files
Readme License

README.md

Opal Test Suite

A test suite for behavior analysis of drives implementing the Opal hardware encryption standard by the Trusted Computing Group (TCG).

This tool provides assurance about conformance with the Opal specification and other drive traits related to secure data storage. Any test-reported warnings or errors suggest that a given drive might not provide the desired level of data protection and the user should be careful, if not reluctant, to use the drive for storing sensitive or valuable information.

For detailed information on the TCG Opal implementation see - TCG Storage Architecture Core Specification, - TCG Storage Security Subsystem Class: Opal Specification.

The Opal Test Suite utilizes opal-toolset tools to communicate with given drives and trigger Opal methods.

[!CAUTION] Backup data stored on the drive before running any tests of Opal Test Suite!

Tests of the suite are destructive and data stored on the drive might be lost.

Tests

Tests are realized as a set of Bash scripts with assisting C programs. Each of them is to be run individually.

Following tests are currently available: - info - the only non-destructive test gathering essential metadata and checking presence of mandatory Opal features, - test_basic - a set of basic drive operations to verify the most essential Opal operations, - test_lr_defs - an extensive test verifying definition of multiple locking ranges per user, their locking and read/write access control - test_vuln_list - a check whether the model of a given drive is mentioned in known security reports, - test_rng_quality - a statistical randomness test of random data provided by the drive, - test_rekey_patterns - a look-up of potential encryption patterns, - test_psid_suffix - a test for checking acceptance of PSID password with a suffix, - test_lbafs - a test of LBA size information reporting consistency, - test_sum - a test of support and behavior of the Single User Mode Feature set.

Usage

To run the Opal Test Suite, clone this repository and run individual desired test scripts with root privileges.

Tests with a test_* prefix, including info, belong to the set of available tests. Remaining files represent helper utilities and outsourced code.

Tests with a test prefix need specific variables to be set. Individual tests are run as follows:

```bash DEV= ./info

DEV= PSID= ./test_basic

DEV= ./testrngquality

DEV= PSID= ./testlrdefs

DEV= PSID= ./test_lbafs

DEV= PSID= ./testrekeypatterns

DEV= PSID= ./testsingleuser_mode

DEV= PSID= ./testpsidsuffix

DEV= ./testvulnlist ```

If you wish to see detailed information on the reported or deduced Opal minor version of your drive, run the following utility:

bash DEV=<dev> ./get_opal_minor_version

Owner

  • Name: CRoCS
  • Login: crocs-muni
  • Kind: organization
  • Location: Faculty of Informatics, Masaryk University, Brno

Centre for Research on Cryptography and Security

GitHub Events

Total
  • Issues event: 14
  • Watch event: 1
  • Delete event: 7
  • Issue comment event: 1
  • Push event: 37
  • Pull request review event: 21
  • Pull request review comment event: 19
  • Pull request event: 16
  • Create event: 8
Last Year
  • Issues event: 14
  • Watch event: 1
  • Delete event: 7
  • Issue comment event: 1
  • Push event: 37
  • Pull request review event: 21
  • Pull request review comment event: 19
  • Pull request event: 16
  • Create event: 8

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 8
  • Total pull requests: 9
  • Average time to close issues: 25 days
  • Average time to close pull requests: 21 days
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.11
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 8
  • Pull requests: 9
  • Average time to close issues: 25 days
  • Average time to close pull requests: 21 days
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.11
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • taramka (8)
Pull Request Authors
  • taramka (9)
Top Labels
Issue Labels
Pull Request Labels