Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <77865b65-bbcd-4984-8eaa-9cda4112e227@gmail.com>
Date: Fri, 17 Jul 2026 10:36:53 +0200
From: Albert Veli <albert.veli@...il.com>
To: john-users@...ts.openwall.com
Subject: Support for age-encryption

Hi!

There is a simpler alternative to gpg if you just want to encrypt a 
file, it's called age. Would it be possible to make a format for this? 
Looks like it's using scrypt. In this example I used iloveyou as 
password, which is one of the top rockyou passwords, for simplicity.

albve@...nanog:~$ sudo apt install age
albve@...nanog:~$ echo "Hello, World!" > hello.txt
albve@...nanog:~$ age -p hello.txt > hello.txt.age
albve@...nanog:~$ hexdump -C hello.txt.age
00000000  61 67 65 2d 65 6e 63 72  79 70 74 69 6f 6e 2e 6f 
|age-encryption.o|
00000010  72 67 2f 76 31 0a 2d 3e  20 73 63 72 79 70 74 20 |rg/v1.-> 
scrypt |
00000020  68 46 34 54 71 35 70 69  73 67 6e 52 42 6d 49 77 
|hF4Tq5pisgnRBmIw|
00000030  57 4b 58 78 41 67 20 31  38 0a 49 7a 6f 5a 4e 79 |WKXxAg 
18.IzoZNy|
00000040  67 36 57 2b 61 78 55 68  52 71 66 6d 45 75 74 78 
|g6W+axUhRqfmEutx|
00000050  38 6f 30 68 59 70 67 77  6a 33 36 62 75 73 48 4b 
|8o0hYpgwj36busHK|
00000060  6e 36 33 75 34 0a 2d 2d  2d 20 32 53 47 37 79 53 |n63u4.--- 
2SG7yS|
00000070  68 71 43 56 58 79 51 72  51 2f 76 6d 58 45 4b 4e 
|hqCVXyQrQ/vmXEKN|
00000080  70 2b 79 75 4d 55 35 4f  64 62 44 43 33 70 33 69 
|p+yuMU5OdbDC3p3i|
00000090  34 59 49 66 34 0a 67 bb  af e1 a9 c6 de 33 00 7f 
|4YIf4.g......3..|
000000a0  64 e2 97 57 61 21 14 17  0b bc e7 e9 3a 85 60 4f 
|d..Wa!......:.`O|
000000b0  26 5f 41 be da 88 a1 56  01 ae 5c cd cb b7 0c 66 
|&_A....V..\....f|
000000c0  56 1f 74 27  |V.t'|
000000c4
albve@...nanog:~$ age -d hello.txt.age
Hello, World!

All information needed appears to be present in the file header. Has 
anyone looked into supporting age-encryption?

BR,

Albert

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.