# Change crypt remote password then resume sync

**URL:** <https://forum.rclone.org/t/change-crypt-remote-password-then-resume-sync/9608>\
**Category:** Help and Support\
**Created:** [April 16, 2019, 5:47pm UTC](https://forum.rclone.org/t/change-crypt-remote-password-then-resume-sync/9608 "2019-04-16T17:47:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zrnsm](https://forum.rclone.org/user_avatar/forum.rclone.org/zrnsm/32/2723_2.png) [@zrnsm](https://forum.rclone.org/u/zrnsm)\
**Post date:** [April 16, 2019, 5:47pm UTC](https://forum.rclone.org/t/change-crypt-remote-password-then-resume-sync/9608/1 "2019-04-16T17:47:13Z")

</div>

I have a directory being sync’d periodically to a crypt remote with a cron job. What is sync’s behavior if the password and salt are changed in the local config?

My guess is that it would just trash everything at the remote that was encrypted under the previous pw+salt and reupload everything. Is that correct?

I’m trying to avoid any surprises before I do it.

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [April 16, 2019, 5:49pm UTC](https://forum.rclone.org/t/change-crypt-remote-password-then-resume-sync/9608/2 "2019-04-16T17:49:37Z")

</div>

Not sure it’s a sync question per se, but if you change the crypt password/salt, it won’t be able to read that directory at all and pretty much generate a lot of errors.

If you change that info, you’d make a new location for it.

---

<div class="post-metadata">

**Author:** ![zrnsm](https://forum.rclone.org/user_avatar/forum.rclone.org/zrnsm/32/2723_2.png) [@zrnsm](https://forum.rclone.org/u/zrnsm)\
**Post date:** [April 16, 2019, 6:03pm UTC](https://forum.rclone.org/t/change-crypt-remote-password-then-resume-sync/9608/3 "2019-04-16T18:03:30Z")

</div>

Ok, this is still confusing me a bit. Let me clarify something: I’m syncing into an encrypted subdirectory of an unencrypted gdrive. Let’s see if this reasoning makes sense. I’m doing something like this:

```auto
rclone sync /home/nicolas gdrive_crypt:/home/nicolas

```

So with the original pw+salt this maps to some scrambled directory ‘foo’ that is still visible from the unecrypted gdrive view. After changing the pw+salt it would map to some other empty scrambled directory ‘bar’ and rclone would upload everything again to complete the sync. Actually trashing the previously sync’d data would mean manually deleting ‘foo’.

---

<div class="post-metadata">

**Author:** ![calisro](https://forum.rclone.org/user_avatar/forum.rclone.org/calisro/32/3130_2.png) [@calisro](https://forum.rclone.org/u/calisro)\
**Post date:** [April 16, 2019, 6:12pm UTC](https://forum.rclone.org/t/change-crypt-remote-password-then-resume-sync/9608/4 "2019-04-16T18:12:42Z")

</div>

You’d want to delete foo yourself. Rclone won’t even be able to read it.

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [July 15, 2019, 6:20pm UTC](https://forum.rclone.org/t/change-crypt-remote-password-then-resume-sync/9608/5 "2019-07-15T18:20:35Z")

</div>

Closed on July 15, 2019, 6:20pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
