New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blockchain-timestamp posts #2892
Comments
where/how do I hook to operate on changed posts? |
Let’s play… Buzzword Bingo! As for the problem, it’s not going to be simple: perhaps something that looks at doit’s to-do task list and timestamps the new/changed files? |
@Kwpolska some buzzword driven marketing for nikola won't hurt ;) regarding how, isn't it possible to hook wherever nikola hooks to decide which posts to rebuild? then my "build step" is the timestamp request via the opentimestamp library and my build artifact is the .ots file to verify the timestamp. |
Hmmmm... so, this is trickier than it seems. @marianoguerra do you want to timestamp sources or output? If sources, then just use POSTS/PAGES to find them and timestamp them when changed. This has the problem of things like include files and such. If output, then you can do a task that depends on the compiled HTML fragments from the timeline, and it would look a lot like plugins/task/pages.py |
The ots client is async and can take a loooong time to work (and by default it will not wait, which is reasonable, but means also you have no idea whether a file is signed or not. If someone REALLY wants to implement this, here is how.
There really is no point in backing up signatures if you didn't backup the sourcefile, since the signature is just a hash. |
Oh, what the hell, I'll do it. |
Implemented in getnikola/plugins@70e4504...ca2dc37 |
As suggested by @marianoguerra we could use https://opentimestamps.org/ to timestamp posts via blockchain.
I am not sure why, or what for, but sure, we could :-)
The text was updated successfully, but these errors were encountered: