adds script to encrypt 1password key
This commit is contained in:
7
1pass/cypher
Normal file
7
1pass/cypher
Normal file
@@ -0,0 +1,7 @@
|
||||
-----BEGIN PGP MESSAGE-----
|
||||
|
||||
jA0ECQMI8gk49OiulSj/0l4B6rnXC/HRDlH26B+JaFmIL3RL1qUK0rOq8azacs3r
|
||||
NtwBMK9wW1mxnd/hwM+BXgxELogEoYkNKwYJ5IO6HSQCgoGXVJn+mIqGZpaKqXo+
|
||||
p6dsIeVmz7FPQhsmM5c3
|
||||
=MuyF
|
||||
-----END PGP MESSAGE-----
|
||||
6
1pass/cypher.txt
Normal file
6
1pass/cypher.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
-----BEGIN PGP MESSAGE-----
|
||||
|
||||
jA0ECQMI909kov+GQBX/0joBsiLFm9A3wiaDgb0/oohE6dWefe5Vku7oT4Od/5em
|
||||
oLNV3qTRN/8oxyRdI44IItqhjmJhmQ+ixveS
|
||||
=WH7i
|
||||
-----END PGP MESSAGE-----
|
||||
1
1pass/getKey.sh
Normal file
1
1pass/getKey.sh
Normal file
@@ -0,0 +1 @@
|
||||
gpg --decrypt cypher
|
||||
2
1pass/saveKey.sh
Normal file
2
1pass/saveKey.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