Browse Source

added symetric key to unlock protected files

master
Chrystal D. Endresen 3 years ago
committed by Brooke L. Rediker
parent
commit
bf901e761c
  1. 2
      README.md
  2. 17
      execution-notes.md
  3. 9
      local.key.asc
  4. BIN
      project.mbox

2
README.md

@ -25,7 +25,7 @@ The chain should have these properties:
decrypt can be done with the command :
```sh
export ASKPASS=ssh-askpass
export GPG_ASKPASS=ssh-askpass
git-crypt unlock
#gpg --decrypt local.key.asc | git-crypt unlock -

17
execution-notes.md

@ -0,0 +1,17 @@
# Execution-notes
### On Tue Jun 15 06:05:07 AM CEST 2021
```
git init
git remote add origin git@gitea.localhost:michelc/toychain.git
export ASKPASS='ssh-askpass'
git-crypt export-key -- - | gpg --symmetric --armor --output local.key.asc
gpg --decrypt local.key.asc | xxd
git add .gitattributes
git crypt status
git crypt lock
gpg --decrypt local.key.asc | git-crypt unlock -
git remote add toptal git@git.toptal.com:screening/Michel-Combes
```

9
local.key.asc

@ -0,0 +1,9 @@
-----BEGIN PGP MESSAGE-----
jA0ECQMCVkwyPsMJz+P/0r0ByU+jKa1N0W2+BrmVe0gl/9hwzVcCO57T8vCjxqfQ
k5xcM+sP4msnAMVGu5J/7O6GHKq6JUomUqVYGufgWKwobLJ8Ei7qPsN7mpmA56Qu
//puIC8UA/vhR80Iqm2cMBFh3q0DRNawuE6BwGqPFPtjnmccBJV5PW0RUjHWAQiS
/W2baUgJFAJMSOkSOPeMZ8Vf3eRo8TXp0iS+vyfNgov9FjZm7ygM4wGdTa46aVhH
KdatgQwrOJYXSvrw8M0=
=sj38
-----END PGP MESSAGE-----

BIN
project.mbox

Loading…
Cancel
Save