Coder Social home page Coder Social logo

Comments (7)

steilerDev avatar steilerDev commented on June 23, 2024

This makes sense - however I don't mind having those credentials visible on the container level (because the account is MFA secured - and the MFA trust token is location bound - meaning that even if password and token are stolen, the attacker needs to have an IP that is close to mine)

Nevertheless I understand the security implications and are already implementing the following (because it is quite simple): The CLI can be started with an empty password - if this is the case, it will prompt the user to enter it through the CLI. This password will be held in memory until the application exits.

from icloud-photos-sync.

github-actions avatar github-actions commented on June 23, 2024

This issue should be resolved with version v1.2.1-beta.1, please confirm.

from icloud-photos-sync.

lonevvolf avatar lonevvolf commented on June 23, 2024

How does this work in combination with daemon mode?

from icloud-photos-sync.

steilerDev avatar steilerDev commented on June 23, 2024

The password is requested when starting the daemon mode and kept in memory for all runs until the process is stopped.

from icloud-photos-sync.

steilerDev avatar steilerDev commented on June 23, 2024

Have a look at the documentation:

If you don't want to store your plain text password in the environment, it is possible to omit the `APPLE_ID_PWD` option, which will lead to the application awaiting the password from the command line upon start. To input the password into the running Docker container [it needs to be started with `tty: true` and `stdin_open: true`](https://docs.docker.com/compose/compose-file/compose-file-v3/#domainname-hostname-ipc-mac_address-privileged-read_only-shm_size-stdin_open-tty-user-working_dir) / `docker run -itd` for [detached mode](https://docs.docker.com/engine/reference/run/#detached--d) with [tty and stdin open](https://docs.docker.com/engine/reference/run/#foreground). Once the container was started, you can attach to the running `icloud-photos-sync` process using [`docker attach photos-sync`](https://docs.docker.com/engine/reference/commandline/attach/)

from icloud-photos-sync.

steilerDev avatar steilerDev commented on June 23, 2024

1.3.0-beta.1 improves on the machanism.

from icloud-photos-sync.

github-actions avatar github-actions commented on June 23, 2024

This issue was resolved with version v1.3.0.

from icloud-photos-sync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.