{ "info": { "author": "Stefano Dottore", "author_email": "docheinstein@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "SECRETS GUARD\n=============\n\nEncrypts and decrypts private information, written in Python3.\n\nDESCRIPTION\n-----------\n\nSecrets Guard is a tool for encrypt and decrypt any kind of information.\n\nThe idea is create a store with a given model and then insert 'secrets' inside it.\n\nIt's similar the Linux tool ``pass``, but uses AES instead of GPG and allows to create general purpose store containing any king of info, not only passwords.\n\nREQUIREMENTS\n------------\n\nRequires at least Python 3.\n\nRequires 'pycryptodomex' library.\n\nINSTALLATION\n------------\n\n::\n\n pip3 install secrets-guard\n\nThe script can be used with ``python3 -m secrets_guard ...``.\n\nAlong with the installation via pip, a script called ``secrets`` will be installed, which is a shortcut for ``python3 -m secrets_guard``.\n\nUSAGE\n-----\n\nEach command works either in interactive or batch mode, depending on the provided arguments.\n\nFor example, if the ``key`` is not provided with ``--key`` it will be asked to the user.\n\nGlobal commands\n~~~~~~~~~~~~~~~\n\nlist\n^^^^\n\nFor list all the store within a path (the default if not specified with ``--path``) the ``list`` command can be used.\n\n::\n\n secrets list\n\n\nStore commands\n~~~~~~~~~~~~~~\n\ncreate\n^^^^^^\n\nFirst of all, a store should be created using the command ``create``.\n\nFor example, for create a basic password store with the name 'password':\n\n::\n\n secrets create password --fields Site Account Password Other --key mykey\n\ndestroy\n^^^^^^^\n\nA store can be destroyed with ``destroy``.\n\n::\n\n secrets destroy password\n\nkey\n^^^\n\nChanges the key of the store.\n\n::\n\n secrets key password newkey --key oldkey\n\nclear\n^^^^^\n\nRemoves all the secrets from a store.\n\n::\n\n secrets clear password --key mykey\n\nshow\n^^^^\n\nThe entire content of a store can be seen using ``show``.\n\n::\n\n secrets show password --key mykey\n\ngrep\n^^^^\n\nFor search between the secrets' fields for a specific word (or regular expression) the command ``grep`` can be used.\n\n::\n\n secrets grep password MyPass --key mykey\n\n::\n\n secrets grep password \"^My.*word\" --key mykey\n\nSecret commands\n~~~~~~~~~~~~~~~\n\nadd\n^^^\n\nA secret can be added to an existent store using ``add`` as follows:\n\n::\n\n secrets add password --data Site=\"Megavideo\" Account=\"me@gmail.com\" Password=\"MyPassword\" --key mykey\n\nremove\n^^^^^^\n\nA secret can be removed from a store using ``remove``.\n\nThe ID of the secret to remove must be specified (it can be retrieved with ``grep`` or ``show``).\n\n::\n\n secrets remove password 12\n\nmodify\n^^^^^^\n\nThe fields of a secret can be changed using ``modify`` as follows:\n\n::\n\n secrets modify password 11 --data Password=\"MyNewPassword\" --key mykey\n\nHELP\n----\n\nFor more details about the commands, use ``help``:\n\n::\n\n NAME\n secrets - encrypt and decrypt private information (such as passwords)\n\n SYNOPSIS\n secrets [COMMAND_OPTIONS] [GENERAL_OPTIONS]\n\n DESCRIPTION\n Stores and retrieves encrypted data to/from files.\n\n Each command can be used either in batch or interactive mode;\n each mandatory but not specified argument will be required interactively.\n\n One of the following command must be specified:\n\n UTILITY COMMANDS\n\n help\n Shows this help message.\n\n version\n Shows the version number.\n\n GLOBAL COMMANDS\n\n list [--path ]\n List the names of the stores found at the path specified\n by --path (or at the default one if not specified).\n\n e.g. secrets list\n\n STORE COMMANDS\n\n create [] [--fields FIELDS] [--path ] [--key ]\n Creates a new store at the given path using the given key.\n The FIELDS must be expressed as a space separated list of field names.\n\n Furthermore some attributes can be expressed for the fields by appending\n \"+...\" after the field name.\n\n The available attributes are\n 1) h: hidden (the user input is not shown)\n 2) m: mandatory (the field must contain a non empty string)\n\n e.g. secrets create password --fields Site Account Password Other --key mykey\n e.g. secrets create password --fields Site+m Account+m Password+mh Other --mykey\n\n destroy [] [--path ]\n Destroys the store at the given path.\n\n e.g. secrets destroy password\n\n key [] [] [--path ] [--key ]\n Changes the key of the store from STORE_KEY to NEW_STORE_KEY.\n\n e.g. secrets key newkey --key currentkey\n\n clear [] [--path ] [--key ]\n Clears the content (all the secrets) of a store.\n The model is left unchanged.\n\n show [] [--path ] [--key ] [--no-table] [--when]\n Decrypts and shows the content of an entire store.\n The --when parameter shows also temporal info (add/last modify date)\n\n e.g. secrets show password --key mykey\n\n grep [] [] [--path ] [--key ] [--no-color] [--no-table] [--when]\n Performs a regular expression search between the data of the store.\n The SEARCH_PATTERN can be any valid regular expression.\n The matches will be highlighted unless --no-color is specified.\n The --when parameter shows also temporal info (add/last modify date)\n\n e.g. secrets grep password MyPass --key mykey\n e.g. secrets grep password \"^My.*word\" --key mykey\n\n SECRET COMMANDS\n\n add [] [--data DATA] [--path ] [--key ]\n Inserts a new secret into a store.\n The DATA must be expressed as a key=value list where the key should\n be a field of the store.\n\n e.g. secrets add password --data Site=\"Megavideo\" Account=\"me@gmail.com\" Password=\"MyPassword\" --key mykey\n\n remove [] [*] [--path ] [--key ]\n Removes the secret(s) with the given SECRET_IDS from the store.\n The SECRET_IDS should be retrieved using the secrets grep command.\n\n e.g. secrets remove password 12\n e.g. secrets remove password 12 14 15 7 11\n\n modify [] [] [--data DATA] [--path ] [--key ]\n Modifies the secret with the given SECRET_ID using the given DATA.\n The DATA must be expressed as a key=value list.\n\n e.g. secrets modify password 11 --data Password=\"MyNewPassword\" --key mykey\n\n GIT COMMANDS\n\n push [--path ] [--message ] [--remote ]\n Commits and pushes to the remote git repository.\n Actually performs \"git add .\" , \"git commit -m 'COMMIT_MESSAGE'\" and\n \"git push [REMOTE_NAME]\" on the given path.\n Note that the action is related to the whole repository,\n not a particular store.\n\n If the COMMIT_MESSAGE is not specified, a default commit message\n will be created.\n If the REMOTE_NAME is not specified, the default one\n (if set, e.g. via --set-upstream) will be used.\n The credentials might be required by the the invoked git push routine.\n\n e.g. secrets push\n e.g. secrets push --remote origin\n e.g. secrets push --remote bitbucket --message \"Added Google password\"\n\n pull [--remote ] [--path ]\n Pull from the remote git branch.\n Note that the action is related to the whole repository,\n not a particular store.\n\n e.g. secrets pull --remote origin\n\n GENERAL OPTIONS\n --verbose\n Prints debug statements.\n\n --no-keyring\n Do not use the keyring for retrieve the password.\n By default a password used for open a store is cached in the keyring\n for further uses.\n\nLICENSE\n-------\n\nSecrets Guard is `MIT licensed <./LICENSE>`__.", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Docheinstein/secrets-guard", "keywords": "pass password private key encrypt decrypt crypt", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "secrets-guard", "package_url": "https://pypi.org/project/secrets-guard/", "platform": "", "project_url": "https://pypi.org/project/secrets-guard/", "project_urls": { "Homepage": "https://github.com/Docheinstein/secrets-guard" }, "release_url": "https://pypi.org/project/secrets-guard/0.15/", "requires_dist": null, "requires_python": ">=3", "summary": "Encrypts and decrypts private information", "version": "0.15", "yanked": false, "yanked_reason": null }, "last_serial": 8850259, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "068fcdfb48bbb1b6191f7194c384f1b6", "sha256": "12b5c30b2b77f7e646397310f1b5e3f07ed60153bc730f195e3a0acbe512e06d" }, "downloads": -1, "filename": "secrets-guard-0.1.tar.gz", "has_sig": false, "md5_digest": "068fcdfb48bbb1b6191f7194c384f1b6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 10362, "upload_time": "2019-08-03T14:29:59", "upload_time_iso_8601": "2019-08-03T14:29:59.814418Z", "url": "https://files.pythonhosted.org/packages/32/a5/aa9b0c74d07702fe244592805278faeefde032d2c1849581f064db291b70/secrets-guard-0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.10": [ { "comment_text": "", "digests": { "md5": "0b8d6828972d824a870766fc37129cb2", "sha256": "2a6a87da5096c6f3cb21264d93f8b2c3ce47ae2bc1e85ad62934e7f3e7269c71" }, "downloads": -1, "filename": "secrets-guard-0.10.tar.gz", "has_sig": false, "md5_digest": "0b8d6828972d824a870766fc37129cb2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 24351, "upload_time": "2019-12-03T14:30:33", "upload_time_iso_8601": "2019-12-03T14:30:33.521771Z", "url": "https://files.pythonhosted.org/packages/6b/ba/74a048a69438bd7de047e5a97a0c88223c8f1b316e92d9558836f1e76970/secrets-guard-0.10.tar.gz", "yanked": false, "yanked_reason": null } ], "0.11": [ { "comment_text": "", "digests": { "md5": "2c2aca97b6a68da5b99a39e40ccd89e9", "sha256": "0eb71209421e91702f18aa5f720ebaec26afd9ce31eb2482ea304e1b4f291e15" }, "downloads": -1, "filename": "secrets-guard-0.11.tar.gz", "has_sig": false, "md5_digest": "2c2aca97b6a68da5b99a39e40ccd89e9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 24622, "upload_time": "2019-12-03T21:26:27", "upload_time_iso_8601": "2019-12-03T21:26:27.993777Z", "url": "https://files.pythonhosted.org/packages/49/e9/8e8c43b5bed7487561178bd4d8fc3bede1b7851192c3914e807cf72529f5/secrets-guard-0.11.tar.gz", "yanked": false, "yanked_reason": null } ], "0.12": [ { "comment_text": "", "digests": { "md5": "ddd114ed08fcd0d90394ab82931b272f", "sha256": "f1663e1958ef106de0ee7dfcf2d851d054c9b2832ddcab15533154014a35d4e9" }, "downloads": -1, "filename": "secrets-guard-0.12.tar.gz", "has_sig": false, "md5_digest": "ddd114ed08fcd0d90394ab82931b272f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 24712, "upload_time": "2019-12-06T14:02:33", "upload_time_iso_8601": "2019-12-06T14:02:33.887274Z", "url": "https://files.pythonhosted.org/packages/b4/9b/d0161cddc4499c2cab6df7e8baa434e7c78736832a16585962d045447c86/secrets-guard-0.12.tar.gz", "yanked": false, "yanked_reason": null } ], "0.13": [ { "comment_text": "", "digests": { "md5": "cb03bc5d12ca63fc87694a053cde7e8e", "sha256": "0b620e6246c3036032aa75b028f9d8427395104ca65824145648bf43db16f58e" }, "downloads": -1, "filename": "secrets-guard-0.13.tar.gz", "has_sig": false, "md5_digest": "cb03bc5d12ca63fc87694a053cde7e8e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 24615, "upload_time": "2020-03-20T22:23:04", "upload_time_iso_8601": "2020-03-20T22:23:04.768379Z", "url": "https://files.pythonhosted.org/packages/27/e9/ed7ce104062dba8aab642ffc489c9998e6cf1beb6c527a703ce9d3d5e5bb/secrets-guard-0.13.tar.gz", "yanked": false, "yanked_reason": null } ], "0.14": [ { "comment_text": "", "digests": { "md5": "83bee9df7462915d8c59f2a72f710f12", "sha256": "a9ae8c3ed138e41fec2a073687356e8b1a32e6a76b1325c5dd2f7a5d59f8cb35" }, "downloads": -1, "filename": "secrets-guard-0.14.tar.gz", "has_sig": false, "md5_digest": "83bee9df7462915d8c59f2a72f710f12", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 25138, "upload_time": "2020-03-28T22:09:51", "upload_time_iso_8601": "2020-03-28T22:09:51.284793Z", "url": "https://files.pythonhosted.org/packages/d9/9e/7f03bd9b4aa25efbad14005335d5cddd8f57e5191e66956590093b296940/secrets-guard-0.14.tar.gz", "yanked": false, "yanked_reason": null } ], "0.15": [ { "comment_text": "", "digests": { "md5": "67c692a6401972c25e86d8c34898f064", "sha256": "59caf1ab7782f8c4c627ad8a9b3fae5cb2321926131e4a08ba5b55274a1883b0" }, "downloads": -1, "filename": "secrets-guard-0.15.tar.gz", "has_sig": false, "md5_digest": "67c692a6401972c25e86d8c34898f064", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 21955, "upload_time": "2020-12-08T15:52:38", "upload_time_iso_8601": "2020-12-08T15:52:38.250588Z", "url": "https://files.pythonhosted.org/packages/ae/b6/9edc841f0834153df0dacb9e9e2b605141cc3ddb2d65119048bfa07d2199/secrets-guard-0.15.tar.gz", "yanked": false, "yanked_reason": null } ], "0.2": [ { "comment_text": "", "digests": { "md5": "ca982ba877f7ba97aba91a487976af87", "sha256": "3890d5b9a8e750925546d2b975af9d9cff8d98572b56f01b3aa567f3ea3fa55e" }, "downloads": -1, "filename": "secrets-guard-0.2.tar.gz", "has_sig": false, "md5_digest": "ca982ba877f7ba97aba91a487976af87", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 13471, "upload_time": "2019-08-03T14:54:12", "upload_time_iso_8601": "2019-08-03T14:54:12.547513Z", "url": "https://files.pythonhosted.org/packages/9b/ec/8c5a069138c1e6e4e0cf3f7016b9bff645787c81d409f4a13988f7520629/secrets-guard-0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "0.3": [ { "comment_text": "", "digests": { "md5": "017bcdea8174e99726e0995358f5b772", "sha256": "7e5c68c0fec18c4a8dcc2a64b2ef7b7ca490f9e4b262ad4af44c746c328dcf16" }, "downloads": -1, "filename": "secrets-guard-0.3.tar.gz", "has_sig": false, "md5_digest": "017bcdea8174e99726e0995358f5b772", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 19414, "upload_time": "2019-08-05T13:38:15", "upload_time_iso_8601": "2019-08-05T13:38:15.746017Z", "url": "https://files.pythonhosted.org/packages/05/8b/f5c2a4644c5ef4982200a79fdaf0d8b18a9d49c2e96bd49d48ff50038c1d/secrets-guard-0.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.4": [ { "comment_text": "", "digests": { "md5": "3ea1264c5ecd53be00e453aaa1acfecf", "sha256": "d652eab3ec5278fdffcc7164390d8a28b0e6d0f63e0ab7e8756354511a25319e" }, "downloads": -1, "filename": "secrets-guard-0.4.tar.gz", "has_sig": false, "md5_digest": "3ea1264c5ecd53be00e453aaa1acfecf", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 19427, "upload_time": "2019-08-05T16:57:43", "upload_time_iso_8601": "2019-08-05T16:57:43.696374Z", "url": "https://files.pythonhosted.org/packages/08/e7/c83cbe8264cc54d2bfd8925469f2de963836a33b29c8b3261bebf71920b3/secrets-guard-0.4.tar.gz", "yanked": false, "yanked_reason": null } ], "0.5": [ { "comment_text": "", "digests": { "md5": "0d3dd0a070a8e31bb5c985da6ca7e884", "sha256": "bf503a10e50cca8d535c287b00ed47569b88684d0421842f4a02af7f4b18afb9" }, "downloads": -1, "filename": "secrets-guard-0.5.tar.gz", "has_sig": false, "md5_digest": "0d3dd0a070a8e31bb5c985da6ca7e884", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 19725, "upload_time": "2019-08-06T07:29:35", "upload_time_iso_8601": "2019-08-06T07:29:35.617880Z", "url": "https://files.pythonhosted.org/packages/2e/98/6b109b4509d4b97a317d214916e7c9bacdf40a54d75253851b112e8534c9/secrets-guard-0.5.tar.gz", "yanked": false, "yanked_reason": null } ], "0.6": [ { "comment_text": "", "digests": { "md5": "91344213d4d7b31ad7fd20302a108380", "sha256": "46855bbef6334c53b3a479b23c392332dc6b74b6b1f77e00afe80f8b9bd2f13a" }, "downloads": -1, "filename": "secrets-guard-0.6.tar.gz", "has_sig": false, "md5_digest": "91344213d4d7b31ad7fd20302a108380", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 19726, "upload_time": "2019-08-06T09:36:42", "upload_time_iso_8601": "2019-08-06T09:36:42.778795Z", "url": "https://files.pythonhosted.org/packages/65/c7/fd0c3054c221b47723ad1151cfdf2a5820a2bc3284b7272c5f08d0880730/secrets-guard-0.6.tar.gz", "yanked": false, "yanked_reason": null } ], "0.7": [ { "comment_text": "", "digests": { "md5": "8bfbef9cdf5948a5e34f956285719202", "sha256": "42f0bf47f2e74cbf5538ead62f264d57a3dac532b37fee04f67ce2cfd4f5eda1" }, "downloads": -1, "filename": "secrets-guard-0.7.tar.gz", "has_sig": false, "md5_digest": "8bfbef9cdf5948a5e34f956285719202", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 19943, "upload_time": "2019-08-10T09:36:37", "upload_time_iso_8601": "2019-08-10T09:36:37.762475Z", "url": "https://files.pythonhosted.org/packages/04/b4/38dbdb8706d65e986fd3e4d4e8491251d05651b031146297a5a28eab5204/secrets-guard-0.7.tar.gz", "yanked": false, "yanked_reason": null } ], "0.8": [ { "comment_text": "", "digests": { "md5": "fa3ca00f2eeb37730043aa8d9e563e8f", "sha256": "c1e74703c1babfbbc90d9033f180dd9676699742a0dabfcdd942442f90daa2ae" }, "downloads": -1, "filename": "secrets-guard-0.8.tar.gz", "has_sig": false, "md5_digest": "fa3ca00f2eeb37730043aa8d9e563e8f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 22104, "upload_time": "2019-10-29T15:26:25", "upload_time_iso_8601": "2019-10-29T15:26:25.777910Z", "url": "https://files.pythonhosted.org/packages/aa/ba/7ac65cf94c63da801ddf1626716bb214dcfae1666f0b83f407e01cca7e27/secrets-guard-0.8.tar.gz", "yanked": false, "yanked_reason": null } ], "0.9": [ { "comment_text": "", "digests": { "md5": "fa1127ffae788f6c38c037432175abb2", "sha256": "5ae72d2ed0a887194794643cb77b2bc67daf3c331b0c61b02e7a42366c9a329d" }, "downloads": -1, "filename": "secrets-guard-0.9.tar.gz", "has_sig": false, "md5_digest": "fa1127ffae788f6c38c037432175abb2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 22119, "upload_time": "2019-10-29T15:29:17", "upload_time_iso_8601": "2019-10-29T15:29:17.144323Z", "url": "https://files.pythonhosted.org/packages/49/00/80612b0c16600bc47ddd7a32b62d0a4d7f7e68f832682953ba595a3e20bf/secrets-guard-0.9.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "67c692a6401972c25e86d8c34898f064", "sha256": "59caf1ab7782f8c4c627ad8a9b3fae5cb2321926131e4a08ba5b55274a1883b0" }, "downloads": -1, "filename": "secrets-guard-0.15.tar.gz", "has_sig": false, "md5_digest": "67c692a6401972c25e86d8c34898f064", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 21955, "upload_time": "2020-12-08T15:52:38", "upload_time_iso_8601": "2020-12-08T15:52:38.250588Z", "url": "https://files.pythonhosted.org/packages/ae/b6/9edc841f0834153df0dacb9e9e2b605141cc3ddb2d65119048bfa07d2199/secrets-guard-0.15.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }