{"id":18742750,"url":"https://github.com/maxpat78/pycryptomator","last_synced_at":"2025-10-10T10:08:24.148Z","repository":{"id":255492156,"uuid":"852271357","full_name":"maxpat78/pycryptomator","owner":"maxpat78","description":"Utilty to access a Cryptomator V8 vault from command line with Python 3","archived":false,"fork":false,"pushed_at":"2024-11-06T09:57:13.000Z","size":264,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-29T05:02:25.927Z","etag":null,"topics":["crypto-tools","cryptomator","python-script","python3","recovery-crypto","recovery-tool","utility-application"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxpat78.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-04T14:21:39.000Z","updated_at":"2025-07-11T06:53:09.000Z","dependencies_parsed_at":"2025-04-12T21:28:19.722Z","dependency_job_id":"6ad0534a-2ac5-4fa1-8f01-9794a280e9ec","html_url":"https://github.com/maxpat78/pycryptomator","commit_stats":null,"previous_names":["maxpat78/pycryptomator"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/maxpat78/pycryptomator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxpat78%2Fpycryptomator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxpat78%2Fpycryptomator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxpat78%2Fpycryptomator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxpat78%2Fpycryptomator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxpat78","download_url":"https://codeload.github.com/maxpat78/pycryptomator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxpat78%2Fpycryptomator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003461,"owners_count":26083595,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crypto-tools","cryptomator","python-script","python3","recovery-crypto","recovery-tool","utility-application"],"created_at":"2024-11-07T16:09:10.355Z","updated_at":"2025-10-10T10:08:24.130Z","avatar_url":"https://github.com/maxpat78.png","language":"Python","readme":"# pycryptomator\n\nA Python 3 package to access a [Cryptomator](https://github.com/cryptomator/cryptomator) [V8](https://docs.cryptomator.org/en/1.7/security/architecture) vault and carry on some useful operations.\n\n```\nusage: pycryptomator  [-h] [--init] [--print-keys [{a85,b64,words}]] [--master-keys PRIMARY_KEY HMAC_KEY]\n                      [--password PASSWORD] [--change-password]\n                      vault_name\n\nAccess to a Cryptomator V8 vault\n\npositional arguments:\n  vault_name            Location of the existing Cryptomator V8 vault to open\n\noptions:\n  -h, --help            show this help message and exit\n  --init                Initialize a new vault in an empty directory\n  --print-keys [{a85,b64,words}]\n                        Print the raw master keys as a list of English words for Cryptomator (default), in ASCII85\n                        (a85) or BASE64 (b64) format\n  --master-keys PRIMARY_KEY HMAC_KEY\n                        Primary and HMAC master keys in ASCII85 or BASE64 format, or - - to read a words list from\n                        standard input\n  --password PASSWORD   Password to unlock master keys stored in config file\n  --change-password     Change the password required to open the vault\n```\n\nPassing a couple options, you can show you master keys or recover them in case\nconfiguration files are corrupted:\n\n`--print-keys` shows the decrypted primary and hmac master key in ASCII85\nor BASE64 form, or as a list of English words like Cryptomator itself, to\nannotate them in a safe place for recovering purposes.\n\n`--master-keys`  grants access to the vault even in case of lost configuration\nfiles `vault.cryptomator` and/or `masterkey.cryptomator`, provided the master\nkeys as ASCII85 or BASE64 strings; `- -` can be used to read the words list\nfrom standard input.\n\n\nAfter the `vault_name`, you can specify some useful operations like:\n\n```\ncd       change vault's current directory\nls       list unecrypted vault contents (with size and time)\nmkdir    create a new directory/tree in the vault\nmv       move or rename files and directories\nln       create a symbolic link\nrm       erase files or directories\ndecrypt  decrypt a file or directory from the vault's virtual filesystem into a given destination\nencrypt  encrypt a file or directory\nalias    show the real pathname linked to a virtual one\nbackup   backup the Directory IDs (required to decrypt names) in a ZIP file\n```\n\nIf no operation is specified, an interactive shell is launched on open vault. It can do transparent wildcards expansion (`*` and `?` only).\n\nFunctionality was tested in Windows 11 and Ubuntu 22.04 LTS Linux (under Windows WSL).\n\nIt's pure Python 3, with pycryptodome addon.\n\nMIT licensed.\nAbsolutely no warranty!\n\n\n# Internal commands\n\n`*` and `?` wildcards can be specified on command line to enable automatic shell expansion.\n\n\n`alias \u003cpathname\u003e`\nshow the real base64 (encrypted and obfuscated) pathname corresponding to the\nvault's pathname\n\n`backup \u003carchive.zip\u003e`\nmake in archive.zip a backup of all the directory id files dir.c9r\nencountered in the vault tree: they are required to reconstruct original file\nnames\n\n`cd \u003cdirectory\u003e`\nmake the specified vault's directory the current one in the pycryptomator\ninternal shell\n\n```\ndecrypt [-fmF] \u003cvirtual_pathname_source1...\u003e \u003creal_pathname_destination\u003e\ndecrypt \u003cvirtual_pathname_source\u003e -\n```\ndecrypt one or more files and/or directories to the specified destination in the\nreal file system.\n`-f` forces to overwrite existing files, `-m` moves (i.e. deletes) the source\nfiles after decryption, `-F` replicates the full command line path of source\nin destination (by default only filenames are copied).\nWith `-` as destination, a file is decrypted and printed to standard output.\n\n`encrypt [-fmF] \u003creal_pathname_source1...\u003e \u003cvirtual_pathname_destination\u003e`\nencrypt one or more files and/or directories to the specified destination.\nIf multiple sources are specified, the destination directory will be created\nif not existent.\n`-f` forces to overwrite existing files, `-m` moves (i.e. deletes) the source\nfiles after encryption, `-F` replicates the full command line path of source\nin destination (by default only filenames are copied).\n\n`ln [-old] \u003ctarget\u003e \u003clink\u003e`\nmake a symbolic link to a target file or directory in the vault.\nIt does not check for target existence.\nAn absolute target should be avoided, since it prevents portability\n(i.e. to Windows).\nWhen targeting a directory with `-old`, its dir.c9r file is copied to enable\ncompatibility with old vault formats (i.e. with current Cryptomator for Android\nv. 1.10.3).\n\n`ls [-b] [-r] [-s NSDE-!] \u003cvirtual_path1\u003e [...\u003cvirtual_pathN\u003e]`\nlist files and directories with minimal informations like DOS DIR (type/size,\nwrite time, name, symbolic link target).\n`-b` prints bare names\n`-r` traverses specified directories recursively\n`-s` sorts results by one or more criteria: `N`ame, `S`ize, `D`ate, `E`xtension\n(a.k.a. file type), `-` sorts in reverse order and `!` puts directories first.\n\n`mkdir [-R] \u003cdir1\u003e [...\u003cdirN\u003e]`\nmake one or more directories or directory trees (i.e. intermediate directories\nget created) in the vault or in the real file system if `-R` is specified.\n\n`mv \u003csource\u003e [\u003csource2\u003e...\u003csourceN\u003e] \u003cdestination\u003e`\nrename or move files and directories. If more files or directories are specified,\ndestination must be an existing directory and objects are moved inside it;\nelse, if destination does not exist, it renames the file or directory.\n\n`rm [-f] \u003cfile1|dir1\u003e [...\u003cfileN|dirN\u003e]`\nremove files and directories. Root directory is protected against accidental\ndeletion. If a directory is not empty, `-f` switch is required to force its\nremoval.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxpat78%2Fpycryptomator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxpat78%2Fpycryptomator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxpat78%2Fpycryptomator/lists"}