age
age e’ uma ferramenta simples, moderna e segura para cryptografar seus arquivos.
Ele usa chaves privadas e publicas para encryptar arquivos. Voce pode gerar uma chave “age” mesmo, ou usar a sua chave ssh1.
Install
No nosso querido OpenBSD…
pkg_add age
Encryptar com chave publica
Para encryptar um arquivo…
age -e -R ~/.ssh/id_ed25519.pub -o target-file input-file
Argumentos
- -e: argumento para encryptar
- -R: argumento para indicar o caminho da chave publica, que sera' usada para cryptar o arquivo
- -o: argumento para indicar o arquivo de output
Exemplo
Aqui voce pode ver que o conteudo do arquivo gerado (secret.txt) esta’ cryptografado.
Descryptar usando chave privada ssh
Para descryptar usando a sua chave privada…
age -d -i ~/.ssh/id_ed25519 input-file > output-file
Argumentos
- -d: argumento para descryptar
- -i: argumento para indicar a chave privada
Exemplo
Articles from blogs I follow around the net
GitHub Copilot and open source laundering
Disclaimer: I am the founder of a company which competes with GitHub. I am also a long-time advocate for and developer of free and open source software, with a broad understanding of free and open source software licensing and philosophy. I will not name my …
via Drew DeVault's blog 2022-06-23 00:00How I would sell OpenBSD as a salesperson
# Introduction Let's have fun today. I always wondered how I would sell OpenBSD licences to customers if I was a salesperson. This text is pure fiction and fun. The OpenBSD project is free of charge and under a libre software licence. => https://…
via Solene'% 2022-06-22 00:00Differences between base and ports LLVM in OpenBSD
Frederic Cambus (fcambus@) has written a blog entry regarding the significant differences between the versions of LLVM in base and ports.
via OpenBSD Journal 2022-06-21 15:58Generated by openring
/comments ~umgeher/changelog@lists.sr.ht?Subject=Re: age
/permalink https://umgeher.org/posts/2022/01/age.html