Escolar Documentos
Profissional Documentos
Cultura Documentos
Essa página busca sumarizar uma maneira direta de como ser adicionado ao git-secret como
alguém que tem acesso aos segredos
O tópico de instalação no passo-a-passo abaixo inclui a maneira que achei mais conveniente
de instalar no Windows, que também é a maneira mais geral que deve funcionar para qualquer
sistema (utilizando o make para compilar o programa a partir do código-fonte); mas há
maneiras mais simples para instalar em algumas distribuições linux:
options:
--version - prints the version number
commands:
see 'git secret [command] -h' for more info about commands and their options
add [file.txt] - adds file to be hidden to the list
cat [file.txt] - decrypts and prints contents of the file
changes [file.txt.secret] - indicates if the file changed since last commit
clean - deletes all encrypted files
hide - encrypts (or re-encrypts) the files to be hidden
init - initializes the git-secret repository
removeperson [emails] - deletes a person's public key from the keyring
list - prints all the added files
remove [files] - removes files from the list of hidden files
reveal - decrypts all hidden files
tell [email] - imports a person's public key into the keyring
usage - prints this message
whoknows - prints list of authorized email addresses
Nota:
gpg --list-keys
importar pub/priv key se necessário:
gpg --import ***key
(excluir se necessário)
https://phoenixnap.com/kb/gpg-delete-key
gpg --gen-key
To export your public key, run:
install https://git-secret.io/
git-secret reveal -f