Show newer

The substitution box, one of the steps in key scheduling for the Rijndael cipher, is working.

The table is in hexadecimal, therefore some sub-optimal conversion is going on. But it works for now.

Still far away from fully working, but I am still making good progress each time I work on this project.

Next up: bitwise row and column shifting.

codeberg.org/oxo/tool/src/bran

Steadily on my way builing an Rijndael-esque encryptor.
Building upon my shell script; yesterday I made an 256 bits sustitution table.
Today I made the foundation of a key scheduler. Interestingly bash is able to process 4×4, 6×4 or 8×4 matrices. And the code is still quite simple. I am learning a lot and enjoying all the little puzzles to solve!
Follow my progress on .
codeberg.org/oxo/tool/src/bran

Duck.ai is not able to generate a complete substitution matrix from the Rijndael cipher. It starts off promising, but then gets stuck about halfway. I asked it to generate the table from the halfway point and it did. But it made up the values it produced.

oxo boosted

Cut the endoding from my shall script. Also adjusted to a non-redundant key length for the last chunk of input into the xor function.
Next hurdle: proper key rotation...
Will upload my progress to the repos asap.

The command has a wrap option. If it is set to 0 then you basically have created a base64 stream (without any EOL's). Which comes in handy for my project.
Development btw is published when I have internet connection;
codeberg.org/oxo/tool/src/bran
Enjoy your day!

I realized that is not easy. Adjusted my goal from building a full blown Rijndael to a more simple xor block cipher. For educational purposes only!

Now I am more or less ready with the encoding of the input ( and ), conversion to and then creating codes. Then the plaintext has to be split into 16 byte blocks, which are to be -ed with the key.

Todo: key-rotation, to make the algorithm stronger.

Today I learned: all the above. But especially how valuable base64 encoding is for converting non-ASCII characters.

Okay, I now want to write the Rijndael algorithm (AES) in bash.
Is that even possible?
Any suggestions appreciated!
Wish me luck. 😃

isolatest, the tool to download an up-to-date archiso has been moved to hajime, the archlinux installation tool.

Please update your local repos and have a nice day!


codeberg.org/oxo/hajime/src/br

oxo boosted

The Emacs Writing Studio paperback version is out now. Available through your favourite book retailer.

Emacs Writing Studio is a configuration that converts Emacs into a too for research, note-taking, writing and publishing books.

This paperback was fully produced with Emacs, except for the cover.

The configuration and Org mode files are freely available on GitHub:

github.com/pprevos/emacs-writi

#emacs #writing

passr is the password-store wrapper I developed and use on a daily basis.

Today I improved the autoentry function with an audible cue, customizable fields and input duration.

Adding ``aeseq: url:5 userid:5 password:5`` to your pass-file will wait 5 seconds until the next field value.
passr also says (with e-speak) which field value is loaded.
Works pretty cool!


codeberg.org/oxo/tool/src/bran

Currently my Linux experience; One rabbit hole covered, looking back, three new rabbit holes arisen...
I somehow have totally broken my DNS. Seems to be lots of layers of which I have no clue about...

After more than 5 years of trustworthy use, I discarded my old hasher 'pwgn' and replaced it with a brand new 'pwg2'.

'Pwg2' is based on the widely implemented and appreciated Argon2 hash function. The script became incredibly more shorter and simpler. Also because of Argon2 the execution time is dramatically reduced. All in all another productive day!

Please test the script if you like and report back any vulnerabilities. Thank you!


codeberg.org/oxo/tool/src/bran

oxo boosted

I'm launching a new site about #OpenPGP:

openpgp.foo/

This site is a personal writing project with a focus on learning OpenPGP's concepts by playful hands-on use.

My goal is to empower readers to make sense of more advanced material (including openpgp.dev/), and become proficient in whatever subset of OpenPGP they are interested in.

The site is far from complete, I hope to continue writing on it. Let me know what you think, and what additional content you'd like to see!

oxo boosted

"France Becomes First Government to Endorse UN Open Source Principles, Joined by 19 Organizations"

👉 unite.un.org/en/news/france-be

The 8 UN #OpenSource principles:

1. Open by default
2. Contribute back
3. Secure by design
4. Foster inclusive participation and community building
5. Design for reusability
6. Provide documentation
7. RISE (recognize, incentivize, support and empower)
8. Sustain and scale

cc @ambnum @numerique_gouv

After wiping my main system, which is not so old and has an nvme drive, during instllation hajime came to a standstill while attempting to execute sgdisk. I went to sleep and dreamt my solution should be in line 621?! Now see if it works...
codeberg.org/oxo/hajime

oxo boosted

Hajime is finished! I consider it in production from now on.
If you have a spare machine, check it out. A quick offline installation (modules 1-3) will be ready within a couple of minutes.

codeberg.org/oxo/hajime

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.