Skip to content

Encrypted remote: add debug message showing the full encrypted pathname+filename for each file #1004

Closed

Description

@DurvalMenezes

As suggested here: #999 (comment)

Activity

  1. added this to the v1.36 milestone on Jan 9, 2017
  2. ncw commented on Jan 9, 2017

    @ncw
    Member

    I'll probably do this with a flag --crypt-show-mapping which in combination with -v will show the mapping of crypted files to unencrypted files whenever they are listed. So this could be used with rclone ls or rclone sync etc.

  3. ncw commented on Jan 29, 2017

    @ncw
    Member
  4. benamira commented on Jan 30, 2017

    @benamira

    Great!
    It works perfect.

  5. DurvalMenezes commented on Feb 27, 2017

    @DurvalMenezes
    ContributorAuthor

    Warning on a possible "documentation regression": the "--crypt-show-mapping" option isn't in the docs on the last rclone beta I downloaded:

    grep -i show-mapping rclone-v1.35-99-g6fc114d??-linux-amd64/rclone.1
          -> Shows nothing.
    
    rclone-v1.35-99-g6fc114d??-linux-amd64/rclone --help 2>&1 | grep -i show-mapping
          --crypt-show-mapping                For all files listed show how the names encrypt.
    

    I saw on the commit above that docs/content/crypt.md was updated with an entry documenting this, and I think that this file (along with the other .md files) are used to generate the manpage I checked above, so this is why I'm calling this a "documentation regression".

    Cheers,
    Durval.

  6. ncw commented on Feb 27, 2017

    @ncw
    Member

    @DurvalMenezes that will get sorted out when I make the release. Unfortunately the betas come out with the old docs due to the way they are made. I should probably work out how to fix that! Thanks for reporting.

  7. DurvalMenezes commented on Feb 28, 2017

    @DurvalMenezes
    ContributorAuthor

    Hello @ncw,

    Just reporting back, I had the opportunity to use --crypt-show-mapping and it worked great; much better than try to divine the file/dir names by looking at the GDrive web interface.

    Cheers,
    Durval.

  8. ncw commented on Feb 28, 2017

    @ncw
    Member
  9. DurvalMenezes commented on Feb 28, 2017

    @DurvalMenezes
    ContributorAuthor

    Hi @ncw,

    @DurvalMenezes :-)

    LOL, I'm serious ;-) What I did before --crypt-show-mapping was to find an encrypted directory with the exact number of files and subdirectories as the one I was looking for, and then looking for a file in it with the exact size. That was a lot of work, but usually successful... anyway, with the new option this has become much easier and faster.

    Cheers,
    Durval.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions