{ "info": { "author": "Zsolt Halo", "author_email": "net.zsolt.net@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# yopass-cli\n\n[![Build Status](https://travis-ci.org/zsolt-halo/yopass-cli.svg?branch=master)](https://travis-ci.org/zsolt-halo/yopass-cli)\n\n[![PyPI version](https://badge.fury.io/py/yopass-cli.svg)](https://badge.fury.io/py/yopass-cli)\n\nThis is a command-line tool to interact with a (the) [yopass backend](https://github.com/jhaals/yopass) created by [Johan Haals](https://github.com/jhaals).\nEven though it is possible to use the service via the [web-frontend](https://yopass.se) I felt the necessity of a cli tool to use this awesome software in our automation projects. \n\nThis cli tool uses [sjcl](https://pypi.org/project/sjcl/) (just like the web-frontend) to perform encryption on the client side thus preventing your secret from ever leaving your os in a _cleartext_ form.\n\n### Installation\n\nyopass-cli requires [python3](https://www.python.org/downloads/)+ to run.\n\n $ pip install --user yopass-cli\n\nMake sure to have the following 2 environment variables set before using:\n\n- YOPASS_BACKEND_URL\n- YOPASS_FRONTEND_URL\n \n $ export YOPASS_BACKEND_URL=https://api.yopass.se\n $ export YOPASS_FRONTEND_URL=https://yopass.se\n\nIf you use your own server, the front and backend URLs can be the same. For\nexample: `https://yopass.domain.net`\n\n### Usage\n\n yopass-cli send [OPTIONS] SECRET\n cat | yopass-cli send [OPTIONS]\n echo \"