How to bring secrets back?

Hello everybody, i was having tons of problems with the secrets collection, so i deleted the folder. Now everything is working, but no apps is asking me about the access to the secrets collection

Does anybody knows how to bring secrets back?maybe not in a corrupted state like it was, or it’s gone forever?

Thank you everybody

what is this? It’s not an app, I guess?

it is a system database to store login information etc

Which folder? .local/share/system/privileged/Secrets?

exactly that

20 characters

This is how it looks here:

total 24
drwxr-xr-x    3 nemo     privileg      4096 May 19  2022 initialsalt
drwxr-xr-x    3 nemo     privileg      4096 May 19  2022 lockcodecheck
drwxr-xr-x    2 nemo     privileg      4096 May 26  2022 org.sailfishos.crypto.plugin.gnupg.openpgp
drwxr-xr-x    2 nemo     privileg      4096 May 26  2022 org.sailfishos.crypto.plugin.gnupg.smime
drwxr-xr-x    2 nemo     privileg      4096 Aug  1 08:09 org.sailfishos.secrets.plugin.encryptedstorage.sqlcipher
drwxr-xr-x    2 nemo     privileg      4096 May 19  2022 org.sailfishos.secrets.plugin.storage.sqlite

… maybe recreating that structure (and permissions!) helps.

1 Like

ok thank you, and how could i recreate that?

mkdir <dirname>
chmod 755 <dirname>
chown nemo:privileged <dirname>

You may have to use defaultuser instead of nemo.

1 Like

thank you, i have now solved the corrupted database problem, and brought the secrets collection back that works as it should :slight_smile:

2 Likes