umgeher's changelog

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

age -e

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

age-d


  1. Caso voce nao tenha ainda chave ssh, esse post talvez te ajude. ↩︎

Articles from blogs I follow around the net

OpenBSD 7.5 released

Every six months, spring and fall, a new OpenBSD release emerges on the web and familiar download mirrors. The OpenBSD project has released OpenBSD 7.5, the project's 56th release, with numerous improvements and support for 14 hardware platforms. Notable…

via OpenBSD Journal 2024-04-05 06:16

My first clojure project on the list!

Recently, I created a new page on this website. I decided to put all cool projects that I made/find around the web (spoiler alert, for now it has only my projects hehe). I have already put a few, but I noticed that none of them are in clojure which is my m…

via Lucas E M M. opinions 2024-04-01 22:37

Introducing ChatMimi: The Xe Iaso Cinematic Universe (XICU) Chatbot

Computers are complicated and this field changes so rapidly that it's hard to keep up. That's why we're excited to announce the release of ChatMimi, the Xe Iaso Cinematic Universe (XICU) chatbot. ChatMimi is a conversational ag…

via Xe Iaso's blog 2024-04-01 00:00

Generated by openring