Skip to main content

Ralsina.Me — Roberto Alsina's website

The Password Is Password (follow the link to see what I mean)

I think this is a first in the world of stat­ic site gen­er­a­tors :-)

Now Niko­la sup­ports pass­word-pro­tect­ed pages. How does it work?

If you add a pass­word meta­da­ta field, then it will "Just Work". Like this:

I think this is a first in the world of stat­ic site gen­er­a­tors :-) And the re­sult is what you are see­ing now.

How is it im­ple­ment­ed? Niko­la will en­crypt the con­tent us­ing RC4, then wrap it in a <di­v>, and tack a form at the end that trig­gers Javascript code to de­crypt it, and show it.

Is it se­cure? Well, I am not a cryp­tog­ra­pher, so as­sume no. Specif­i­cal­ly, while RC4 is con­sid­ered se­cure, I am not dis­card­ing the be­gin­ning of they keystream, and the im­ple­men­ta­tions I am us­ing are not au­dit­ed.

So, don't use this for any­thing that could get you in trou­ble. Have fun!

UP­DATE Re­mem­ber when I asked "Is it se­cure?" well, re­al­ly, no it's not. It's not stupid in the sense that de­cod­ing what's writ­ten in the post will re­quire at least a mod­icum of ef­fort by who­ev­er is so in­ter­est­ed in read­ing what you are post­ing in your site, but peo­ple with cryp­to chops will crack it like a WEP-se­cured AP, mm­mmkay? It's al­so stupid­ly easy to brute­force this, so be smart about pass­word­s.

OTO­H, it's more se­cure than HTTP sim­ple au­th, since you can't sniff it (not that sim­ple auth is se­cure) and it can hide a piece of the page, which us­ing server-based auth can't.

I may do a more se­cure ver­sion even­tu­al­ly, but this is not it. There­fore, use for fun stuff, not to hide im­por­tan­t/il­le­gal stuff.

The Book of Seven Hands: A Foreworld SideQuest

Review:

I am sure this book's sword­play is ex­ten­sive­ly re­searched. Would it have been so dif­fi­cult to have some­one with even par­tial knowl­edge of span­ish give it a read?

At first it was just an­noy­ing, like say­ing "hedges of ma­tor­ral" which is like say­ing "hedges of bush" but it gets even worse as the book moves for­ward, from writ­ing Pérez "Peréz" to writ­ing Guzmán with a strange di­a­crit­ic that looks like horns in the u and has nev­er been part of span­ish.

And then... and then there is the on­ly whole span­ish phrase in the book and it's "por la derecha a luchar luchas más", which is so hor­rif­i­cal­ly bro­ken if this had been a pa­per book I would have thrown it out the win­dow. And the book al­most ends with a char­ac­ter re­peat­ing "luchar luchas más".

So, good idea, in­trigu­ing sug­ges­tion of where the fore­world saga could go, but lazy, lazy, lazy.

Nikola Internals Doc

Since Niko­la, my stat­ic blog/web­site gen­er­a­tor is get­ting a sub­stan­tial amount of code from oth­er­s, I thought it may be a good idea to rough­ly doc­u­ment how it works in­ter­nal­ly. So, here is Niko­la in­ter­nals which is very much a work in progress.

The Girl Who Would Be King

Review:

I must con­fess I skipped over some of the ro­mance bit­s, but quite a good "o­ri­gin sto­ry" book, cre­ates a rea­son­able mythol­o­gy, and is fun.


Contents © 2000-2020 Roberto Alsina