Mic92 / ssh-to-age

Convert SSH Ed25519 keys to age keys. This is useful for usage in sops-nix and sops
MIT License
98 stars 5 forks source link

build docker image #39

Closed php53unit closed 3 months ago

Mic92 commented 1 year ago

Could you explain a bit to me how are using this container so I can understand the motivation behind it?

php53unit commented 10 months ago

Could you explain a bit to me how are using this container so I can understand the motivation behind it?

On any system with docker installed, the command can be used without installing software.

cat ~/.ssh/id_ed25519_2.pub | docker run --rm -i path_to_public_docker_hub/ssh-to-age:latest -i -

age1wcp68ppuadddvafn0vj37w3vj9qzzzt9pafq8d2fadcaxn2cpaksmxmxrz

Mic92 commented 3 months ago

I don't think I want to maintain a docker image just now, but I would link to one if someone else wants to do it.