mirror of
https://github.com/YunoHost-Apps/borg_ynh.git
synced 2024-09-03 18:16:05 +02:00
Create POST_UPGRADE.md
This commit is contained in:
parent
0b10c69c28
commit
58a3891a15
1 changed files with 7 additions and 0 deletions
7
doc/POST_UPGRADE.md
Normal file
7
doc/POST_UPGRADE.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
[Borg pre-version 1.2.5 had CVE in archive format](https://github.com/borgbackup/borg/blob/1.2.8/docs/changes.rst#pre-125-archives-spoofing-vulnerability-cve-2023-36811). One liner to check if you're affected is:
|
||||
|
||||
```sh
|
||||
sudo env BORG_RSH="ssh -i /root/.ssh/id___APP___ed25519 -oStrictHostKeyChecking=yes " BORG_PASSPHRASE="`yunohost app setting __APP__ passphrase`" BORG_RELOCATED_REPO_ACCESS_IS_OK=yes BORG_REPO="$(yunohost app setting __APP__ repository)" __INSTALL_DIR__/venv/bin/borg upgrade --show-rc --check-tam $BORG_REPOSITORY
|
||||
```
|
||||
|
||||
Consult the linked documentation on how to interpert the result.
|
Loading…
Add table
Reference in a new issue