Class ConnectOperation

  • public class ConnectOperation
    extends AbstractInitOperation
    The connect operation connects to an existing repository at a given remote storage location. Its responsibilities include:
    • Downloading of the repo file. If it is encrypted, also downloading the master file to allow decrypting the repo file.
    • If encrypted: Querying the user for the password and creating the master key using the password and the master salt.
    • If encrypted: Decrypting and verifying the repo file.
    • Creating the local Syncany folder structure in the local directory (.syncany folder and the sub-structure) and copying the repo/master file to it.