Add Encrypted with tiny-encrypt
53
Encrypted with tiny-encrypt.-.md
Normal file
53
Encrypted with tiny-encrypt.-.md
Normal file
@@ -0,0 +1,53 @@
|
||||
`oss-backupd.json`
|
||||
|
||||
```json
|
||||
{
|
||||
"oss_config": {
|
||||
"endpoint": "oss-cn-shanghai[-internal].aliyuncs.com",
|
||||
"access_key_id": "LT*****************",
|
||||
"access_key_secret": "J4*******************************",
|
||||
"bucket": "bucket_name",
|
||||
"path": "hatter_test_backup"
|
||||
},
|
||||
"host": "hatter.test",
|
||||
"tiny_encrypt": {
|
||||
"config": "/<FULL PATH>/tiny-encrypt-config-rs.json"
|
||||
},
|
||||
"backup_count": 10,
|
||||
"items": [
|
||||
{ "target": "/Users/username/test_backup/", "file_name": "test_backup_001" }
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
`tiny-encrypt-config-rs.json`
|
||||
|
||||
```json
|
||||
{
|
||||
"envelops": [
|
||||
{
|
||||
"type": "piv-p384",
|
||||
"sid": "piv-83-ecdh-p384",
|
||||
"kid": "02c9f887e28c15e7d80ac176fba5ea271acae6ab473fe7414adca8e2566c791084296f8e568e64ab3900a57e906e66dbb3",
|
||||
"desc": "PIV --slot 83",
|
||||
"args": [
|
||||
"83"
|
||||
],
|
||||
"publicPart": "04c9f887e28c15e7d80ac176fba5ea271acae6ab473fe7414adca8e2566c791084296f8e568e64ab3900a57e906e66dbb3f99bf4b4b15f1b19e553ad43c2fea1e74eeeae159a16fe76c3fdb3d4df167413f7f43a35a1682648f48e5ec4aa7ad703"
|
||||
},
|
||||
{
|
||||
"type": "pgp-x25519",
|
||||
"sid": "pgp-x25519-yubikey-5n",
|
||||
"kid": "C0FAD5E563B80E819603B0D9FFC2A910806894FD",
|
||||
"desc": "Card serial no. = 0006 16138686",
|
||||
"publicPart": "7FEBAAB0D80CED24730B613F3D86924560EBCF13A838DEBC065F63C69C24C61E"
|
||||
}
|
||||
],
|
||||
"profiles": {
|
||||
"default": [
|
||||
"C0FAD5E563B80E819603B0D9FFC2A910806894FD",
|
||||
"02c9f887e28c15e7d80ac176fba5ea271acae6ab473fe7414adca8e2566c791084296f8e568e64ab3900a57e906e66dbb3"
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user