Dietmar Maurer
|
780bc4cad2
|
tape: try to set encryption key with read-label command
|
2021-01-21 10:31:49 +01:00 |
|
Dietmar Maurer
|
18bd6ba13d
|
tape: restore_key - always update key, even if there is already an entry
|
2021-01-21 10:31:49 +01:00 |
|
Dietmar Maurer
|
8428063d9e
|
cleanup: KeyConfig::decrypt - show password hint on error
|
2021-01-21 10:31:49 +01:00 |
|
Dietmar Maurer
|
f490dda05a
|
tape: use type Uuid instead of String
|
2021-01-21 10:31:49 +01:00 |
|
Dietmar Maurer
|
2b191385ea
|
tape: use specialized encryption key per media-set
|
2021-01-21 10:31:49 +01:00 |
|
Dietmar Maurer
|
9a045790ed
|
cleanup KeyConfig
|
2021-01-20 15:43:19 +01:00 |
|
Dietmar Maurer
|
82a103c8f9
|
add "password hint" to KeyConfig
|
2021-01-20 15:43:19 +01:00 |
|
Dietmar Maurer
|
feb1645f37
|
tape: generate random encryptions keys and store key_config on media
|
2021-01-19 11:20:07 +01:00 |
|
Dietmar Maurer
|
8a0046f519
|
tape: implement encrypted backup - simple version
This is just a proof of concept, only storing the encryption key fingerprint
inside the media-set label.
|
2021-01-18 13:38:22 +01:00 |
|
Dietmar Maurer
|
d5a48b5ce4
|
tape: add hardware encryption key managenent api
|
2021-01-18 13:38:22 +01:00 |
|
Dietmar Maurer
|
781da7f6f0
|
tape: add --inventorize flag to read-label API/CLI
|
2021-01-14 11:51:23 +01:00 |
|
Dietmar Maurer
|
8446fbca85
|
tape: rename changer_id to label_text
|
2021-01-13 13:26:59 +01:00 |
|
Dietmar Maurer
|
6638c034d2
|
tape: remove unused eject_on_unload method
|
2021-01-10 16:20:18 +01:00 |
|
Dietmar Maurer
|
483da89d03
|
tape: improve export media to directly export from drive, add CLI
|
2021-01-10 13:44:44 +01:00 |
|
Dietmar Maurer
|
6fe16039b9
|
tape: simplify media changer implementation - new struct MtxMediaChanger
|
2021-01-10 10:02:01 +01:00 |
|
Dietmar Maurer
|
df69a4fc59
|
tape: implement drive clean
|
2021-01-08 11:32:56 +01:00 |
|
Dietmar Maurer
|
46a1863f88
|
tape: improve MediaChange trait
We expose the whole MtxStatus, and we can load/store from/to
specified slot numbers.
|
2021-01-07 14:26:43 +01:00 |
|
Dietmar Maurer
|
cfae8f0656
|
tape: merge MediaStateDatabase into Inventory
|
2021-01-01 16:15:13 +01:00 |
|
Dietmar Maurer
|
cb022525ff
|
tape: only log to stdout in CLI environment
|
2020-12-30 19:01:39 +01:00 |
|
Dietmar Maurer
|
284eb5daff
|
tape: cleanup/simplify media_change code
|
2020-12-30 17:16:57 +01:00 |
|
Dietmar Maurer
|
b017bbc441
|
tape: add restore code, implement catalog api/command
|
2020-12-30 09:48:18 +01:00 |
|
Dietmar Maurer
|
3460565414
|
tape: create the MediaCatalog when we label a tape
|
2020-12-29 10:55:20 +01:00 |
|
Dietmar Maurer
|
0993923ed5
|
tape: factor out get_drive_and_media_status
|
2020-12-29 08:39:06 +01:00 |
|
Dietmar Maurer
|
5ae86dfaa1
|
tape: return media usage info with status command
|
2020-12-23 11:24:34 +01:00 |
|
Dietmar Maurer
|
dbe7e556b0
|
tape: implement binding for libsgutils2
So that we can read cartridge memory without calling "sg_raw". In future,
we may need further low level command to control the tape..
|
2020-12-23 09:44:53 +01:00 |
|
Dietmar Maurer
|
cb80d900b3
|
tape: add drive status api
|
2020-12-22 10:42:22 +01:00 |
|
Dietmar Maurer
|
ee01737e87
|
tape: rename 'mam' api to 'cartridge-memory'
|
2020-12-22 09:27:34 +01:00 |
|
Dietmar Maurer
|
1e20f819d5
|
tape: add command to read cartridge memory (MAM)
Thsi add an additional dependency to sg3-utils (small).
|
2020-12-21 12:12:33 +01:00 |
|
Dietmar Maurer
|
fe6c19383b
|
tape: remove MediaLabelInfo, use MediaId instead
The additional content_uuid was quite useless...
|
2020-12-16 13:31:32 +01:00 |
|
Dietmar Maurer
|
a78348acbb
|
tape: rename DriveLabel to MediaLabel
|
2020-12-14 17:37:16 +01:00 |
|
Dietmar Maurer
|
49c965a497
|
tape: rename DRIVE_ID_SCHEMA to DRIVE_NAME_SCHEMA
|
2020-12-13 09:18:16 +01:00 |
|
Dietmar Maurer
|
66dbe5639e
|
tape: avoid executor blocking in drive API
By using tokio::task::spawn_blocking().
|
2020-12-12 09:20:04 +01:00 |
|
Dietmar Maurer
|
663ef85992
|
tape: use WorkerTask for erase and rewind
|
2020-12-11 11:19:33 +01:00 |
|
Dietmar Maurer
|
e92c75815b
|
tape: split inventory api
inventory: sync, list labels with uuids,
update_inventory: WorkerTask, updates database
|
2020-12-11 10:42:29 +01:00 |
|
Dietmar Maurer
|
6dbad5b4b5
|
tape: run label commands as WorkerTask (threads)
|
2020-12-11 09:10:22 +01:00 |
|
Dietmar Maurer
|
bff7e3f3e4
|
tape: implement barcode-label-mdedia
|
2020-12-11 07:50:19 +01:00 |
|
Dietmar Maurer
|
83abc7497d
|
tape: implement inventory command
|
2020-12-11 07:39:28 +01:00 |
|
Dietmar Maurer
|
4606f34353
|
tape: implement read-label command
|
2020-12-10 13:20:39 +01:00 |
|
Dietmar Maurer
|
7bb720cb4d
|
tape: implement label command
|
2020-12-10 12:30:27 +01:00 |
|
Dietmar Maurer
|
55118ca18e
|
tape: correctly sort drive api subdir
|
2020-12-10 10:09:12 +01:00 |
|
Dietmar Maurer
|
f70d8091d3
|
tape: implement option changer-drive-id
|
2020-12-10 09:09:06 +01:00 |
|
Dietmar Maurer
|
a3c709ef21
|
tape: cli cleanup - avoid api redefinition
|
2020-12-10 08:35:11 +01:00 |
|
Dietmar Maurer
|
93829fc680
|
tape: cleanup load-slot api
|
2020-12-10 08:04:55 +01:00 |
|
Dietmar Maurer
|
e49f0c03d9
|
tape: implement load-media command
|
2020-12-10 07:52:56 +01:00 |
|
Dietmar Maurer
|
0098b712a5
|
tape: implement eject
|
2020-12-09 17:50:48 +01:00 |
|
Dietmar Maurer
|
5fb694e8c0
|
tape: implement rewind
|
2020-12-09 17:43:38 +01:00 |
|
Dietmar Maurer
|
583a68a446
|
tape: implement erase media
|
2020-12-09 17:35:31 +01:00 |
|
Dietmar Maurer
|
5d90860688
|
tape: expose basic tape/changer functionality at api2/tape/
|
2020-12-08 15:42:50 +01:00 |
|