Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] The openwisp-config UCI configuration should not be restored completely #195

Open
nemesifier opened this issue Jun 27, 2023 · 0 comments
Labels

Comments

@nemesifier
Copy link
Member

If a device is switched from one instance to another, it may happen that the agent stores a backup of the full /etc/config/openwisp file, which will contain URL, UUID, key and in some cases shared secret.
In some cases this causes the backup to be restored after registering to a different server, which basically causes a rollback and makes the device go back to the old server.

A possible solution could be to treat this file differently and avoid storing URL, UUID, key or shared secret but before proceeding with this we have to verify there's no other downsides to this approach.

@nemesifier nemesifier added the bug label Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To do (general)
Development

No branches or pull requests

1 participant