From 87286c2ee73cc1fff408837bac6097c898588dfc Mon Sep 17 00:00:00 2001 From: nakabonne Date: Sun, 13 Dec 2020 21:12:19 +0900 Subject: [PATCH] Add description to tell how to use --from-clipboard option --- README.md | 20 +++++++++++++++----- commands/copy.go | 2 +- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 410ad60..168bab1 100644 --- a/README.md +++ b/README.md @@ -18,14 +18,14 @@ brew install nakabonne/pbgopy/pbgopy #### RHEL/CentOS ``` -rpm -ivh https://github.com/nakabonne/pbgopy/releases/download/v0.2.0/pbgopy_0.2.0_linux_amd64.rpm +rpm -ivh https://github.com/nakabonne/pbgopy/releases/download/v0.2.1/pbgopy_0.2.1_linux_amd64.rpm ``` #### Debian/Ubuntu ``` -wget https://github.com/nakabonne/pbgopy/releases/download/v0.2.0/pbgopy_0.2.0_linux_amd64.deb -apt install ./pbgopy_0.2.0_linux_amd64.deb +wget https://github.com/nakabonne/pbgopy/releases/download/v0.2.1/pbgopy_0.2.1_linux_amd64.deb +apt install ./pbgopy_0.2.1_linux_amd64.deb ``` #### Arch Linux @@ -76,9 +76,10 @@ export PBGOPY_SERVER=http://host.xz:9090 pbgopy paste >foo.png ``` +## Options ### End-to-end encryption -`pbgopy` comes with a built-in ability to encrypt/decrypt with a common key, hence allows you to perform end-to-end encryption without working with external tools. +`pbgopy` comes with a built-in ability to encrypt/decrypt with a common key derived from password. Hence allows you to perform end-to-end encryption without working with external tools. ```bash pbgopy copy -p your-password