updates onepass
This commit is contained in:
7
onepass/cypher
Normal file
7
onepass/cypher
Normal file
@@ -0,0 +1,7 @@
|
||||
-----BEGIN PGP MESSAGE-----
|
||||
|
||||
jA0ECQMI8gk49OiulSj/0l4B6rnXC/HRDlH26B+JaFmIL3RL1qUK0rOq8azacs3r
|
||||
NtwBMK9wW1mxnd/hwM+BXgxELogEoYkNKwYJ5IO6HSQCgoGXVJn+mIqGZpaKqXo+
|
||||
p6dsIeVmz7FPQhsmM5c3
|
||||
=MuyF
|
||||
-----END PGP MESSAGE-----
|
||||
1
onepass/get.sh
Normal file
1
onepass/get.sh
Normal file
@@ -0,0 +1 @@
|
||||
gpg --decrypt cypher
|
||||
5
onepass/install-onepass-fedora.sh
Normal file
5
onepass/install-onepass-fedora.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
### OnePassword
|
||||
sudo rpm --import https://downloads.1password.com/linux/keys/1password.asc
|
||||
sudo sh -c 'echo -e "[1password]\nname=1Password Stable Channel\nbaseurl=https://downloads.1password.com/linux/rpm/stable/\$basearch\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=\"https://downloads.1password.com/linux/keys/1password.asc\"" > /etc/yum.repos.d/1password.repo'
|
||||
sudo dnf check-update -y 1password-cli && sudo dnf install 1password-cli
|
||||
export OPENAI_API_KEY=$(op read op://v7by4moxpzgsmlszn43jvwfzsa/ChatGPT.nvim/credential)
|
||||
2
onepass/save.sh
Normal file
2
onepass/save.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
read -p 'Enter key to encrypt:' key
|
||||
echo "${key}" | gpg --cipher-algo AES256 --symmetric --armor >cypher
|
||||
Reference in New Issue
Block a user