Changes between Version 30 and Version 31 of nextcloud-admin


Ignore:
Timestamp:
Feb 21, 2019, 10:19:44 AM (7 months ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • nextcloud-admin

    v30 v31  
    101101}}}
    102102
     103== Resetting an e2e passphrase ==
     104
     105This seems to be a flaw in the e2e model, but it is possible for an administrator to reset a user's e2e key if they lose the passphrase. Check out this [https://github.com/nextcloud/end_to_end_encryption/issues/32 issue for the latst].
     106
     107At the time of this writing, the following works:
     108
     109 * Enter the end_to_end_encryption folder in your appdata folder. Your appdata folder is a folder inside your data folder (the folder containing all your nextcloud files). It has a randomly generated name that starts with appdata like appdata_487461775a51. The end_to_end_encryption folder has three folders: meta-data, private-keys and public-keys.
     110 * If your username is joe, then remove meta-data/joe, private-keys/joe.private.key, public-keys/joe.public.key
     111 * In the database (replace joe with your username):
     112{{{
     113DELETE FROM oc_filecache WHERE path LIKE 'appdata_%/end_to_end_encryption/meta-data/joe%';
     114DELETE FROM oc_filecache WHERE path LIKE 'appdata_%/end_to_end_encryption/%-keys/joe.%.key';
     115}}}
     116 * launch the maintenance crontab manually as the www-data user (/usr/bin/php -f /var/www/nextcloud/cron.php)
     117