Here is an example:
[20:23:11] ben@metropolis:/tmp$ age-keygen | tee privkey
Public key: age12qe2u8x2vgc5kl36rrfysr0q327nx59gftvq7csuhsdcfr0sreaqqpc57s
# created: 2020-09-18T20:23:18+01:00
# public key: age12qe2u8x2vgc5kl36rrfysr0q327nx59gftvq7csuhsdcfr0sreaqqpc57s
AGE-SECRET-KEY-1EYFNGA4KCHJ9CY4N0AK8N88D5VN2MSK3KF6CJREQ9U3YYT388ZPS6J9DJ9
[20:23:30] ben@metropolis:/tmp$ uname | age -r
age12qe2u8x2vgc5kl36rrfysr0q327nx59gftvq7csuhsdcfr0sreaqqpc57s >
out.enc
[20:23:49] ben@metropolis:/tmp$ cat out.enc | age -i privkey -d
Linux
[20:23:54] ben@metropolis:/tmp$
On Fri, Sep 18, 2020 at 8:20 PM Joe Ayers <
cezar...@gmail.com> wrote:
>
> So I'm trying to decrypt a file that was sent to me using my own private key, the file is called return_message.txt.age. I'm working through the command prompt on windows, and I just can't seem to get it to work. I was wondering if someone could show me what I should write in order to see the message.
>
>
> --
> You received this message because you are subscribed to the Google Groups "age-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
age-dev+u...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/age-dev/bc017764-1ed0-42ec-a631-753cb6df3c6bn%40googlegroups.com.