1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/borg_ynh.git synced 2024-09-03 18:16:05 +02:00
borg_ynh/doc/POST_UPGRADE.d/1.2.8.md
Simon Lefort 65fec6a186
Update 1.2.8.md
Add option for port (easier to see where to change if user use a custom port).
2024-07-24 09:26:15 +02:00

616 B

Borg pre-version 1.2.5 had CVE in archive format. One liner to check if you're affected is:

sudo env BORG_RSH="ssh -i /root/.ssh/id___APP___ed25519 -p 22 -oStrictHostKeyChecking=yes " BORG_PASSPHRASE="$(sudo yunohost app setting __APP__ passphrase)" BORG_RELOCATED_REPO_ACCESS_IS_OK=yes BORG_REPO="$(sudo yunohost app setting __APP__ repository)" __INSTALL_DIR__/venv/bin/borg upgrade --show-rc --check-tam $BORG_REPO

Consult the linked documentation on how to interpret the result.