Skip to content

Commit

Permalink
remove prov_db_filename from config
Browse files Browse the repository at this point in the history
The database was introduced as part of the original layered architecture (ref
Fig.3
https://github.com/keylime/keylime/raw/master/docs/old/tci-acm.pdf) to
record instances registered with the "Provider Registrar".
However, with 605bba0, both provider
and vTPMs are no longer supported on Keylime.
The usage of 'prov_db_filename' from the config got dropped when the DB
was ported to SQLAlchemy 4d8d8cd
and the last remaining artifact was nuked as part of the style fixes
be07edb.

Fixes keylime#1465

Signed-off-by: Vikram Narayanan <vikram186@gmail.com>
  • Loading branch information
arkivm authored and THS-on committed Sep 21, 2023
1 parent 01ca660 commit d2429d0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions keylime.conf
Original file line number Diff line number Diff line change
Expand Up @@ -625,10 +625,6 @@ database_pool_sz_ovfl=5,10

auto_migrate_db = True


# The file to use for SQLite persistence of provider hypervisor data.
prov_db_filename = provider_reg_data.sqlite

# Durable Attestation is currently marked as an experimental feature
# In order to enable Durable Attestation, an "adapter" for a Persistent data Store
# (time-series like database) needs to be specified. Some example adapters can be
Expand Down
5 changes: 0 additions & 5 deletions templates/2.0/mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -590,11 +590,6 @@
"option": "auto_migrate_db",
"default": "True"
},
"prov_db_filename": {
"section": "registrar",
"option": "prov_db_filename",
"default": "provider_reg_data.sqlite"
},
"durable_attestation_import" : {
"section": "registrar",
"option": "durable_attestation_import",
Expand Down
3 changes: 0 additions & 3 deletions templates/2.0/registrar.j2
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ database_pool_sz_ovfl = {{ registrar.database_pool_sz_ovfl }}
# Whether to automatically update the DB schema using alembic
auto_migrate_db = {{ registrar.auto_migrate_db }}

# The file to use for SQLite persistence of provider hypervisor data.
prov_db_filename: {{ registrar.prov_db_filename }}

# Durable Attestation is currently marked as an experimental feature
# In order to enable Durable Attestation, an "adapter" for a Persistent data Store
# (time-series like database) needs to be specified. Some example adapters can be
Expand Down

0 comments on commit d2429d0

Please sign in to comment.