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
KDE Plasma 6.4 has landed in OpenBSD
Yes, you read that right: KDE 6.4.0 Plasma is now in OpenBSD packages. This was made possible by the efforts of Rafael Sadowski (rsadowski@) with the help of several others. The news was announced 2025-07-04 via a fediverse post and of course the commit message i…
via OpenBSD Journal 2025-07-05 08:17Just speak the truth
Today, we’re looking at two case studies in how to respond when reactionaries appear in your free software community. Exhibit A It is a technical decision. The technical reason is that the security team does not have the bandwidth to provide lifecycle maintena…
via Drew DeVault's blog 2025-06-30 00:00The Gap Through Which We Praise the Machine
In this post I’ll expose my current theory of agentic programming: people are amazing at adapting the tools they’re given and totally underestimate the extent to which they do it, and the amount of skill we build doing that is an incidenta…
via Ferd.ca 2025-06-09 10:00Generated by openring
/comments ~umgeher/changelog@lists.sr.ht?Subject=Re: age
/permalink https://umgeher.org/posts/2022/01/age.html