New Alcuin Release and Rename to Blatta

As you may know, "blatta" is Latin for "cockroach." This name seems more aligned with the Pest theme, so I'm going with that.

I'm attempting to release this as a signed genesis. I haven't been able to figure out how to press it myself yet using vk.pl, but it *should* work for those who know how to use their v implementation.

This version implements several Pest-specific commands: AT, WOT, KEY, UNKEY, PEER, UNPEER, and GENKEY. In addition, this version requires only one key to be shared between a pair of peers, and also uses base64 format to store and display keys.

This is the first version that doesn't require a station to be restarted to add new peers, so it may be a bit easier at this point to stand up a longer running test net.

genesis.vdiff genesis.vdiff.thimbronion.sig

11 Responses to “New Alcuin Release and Rename to Blatta”

  1. PeterL says:

    Part of the problem might be that your patch is backwards? You should be patching the full directory onto the empty one, so the lines should all start with + instead of -. So v won't be able to build it since it can't find what to build it on.

  2. thimbronion says:

    PeterL:

    I've fixed the diff as you suggest and updated the linked files. Still having no luck. What V are you using? What command do you use to press? What does your directory structure look like?

  3. You need to make a subdir before vdiffing. (Right now you have in there e.g. --- a/README.txt false , this ought to be e.g. --- a/blatta/README.txt false .)

    Then can press with e.g. v.py like this:

    v.py --wot .wot --seals sigs patches p patches/genesis.vdiff blatta

    (adjust your wot/seals/patches dirs as necessary.)

  4. thimbronion says:

    Thanks. I've updated the linked vpatch and sig. Still struggling with mod6s vk.pl. Where can I get the python v you're using?

  5. The new one presses cleanly, btw:

    ./v.py --wot .wot --seals sigs patches p patches/genesis.vdiff blatta

    Pressing using head: patches/genesis.vdiff to path: 'blatta'
    Using: patches/genesis.vdiff (thimbron)
    creating blatta/README.txt
    creating blatta/blatta
    creating blatta/config.py.example
    creating blatta/lib/__init__.py
    creating blatta/lib/channel.py
    creating blatta/lib/client.py
    creating blatta/lib/commands.py
    creating blatta/lib/funcs.py
    creating blatta/lib/infosec.py
    creating blatta/lib/peer.py
    creating blatta/lib/ringbuffer.py
    creating blatta/lib/serpent.py
    creating blatta/lib/server.py
    creating blatta/lib/state.py
    creating blatta/scripts/gen_key_pair.py
    creating blatta/start_test_net.sh
    creating blatta/test_net_configs/a.py
    creating blatta/test_net_configs/b.py
    creating blatta/test_net_configs/c.py
    Completed Pressing using head: patches/genesis.vdiff to path: 'blatta'

  6. shinohai says:

    Very nice to have a vpatch for this now! The only hiccough I had was probably due to me using esthlos-v, which expects very strict filename extensions - but after renaming `.vdiff` to `.vpatch` it pressed cleanly for me:

    # v press genesis.vpatch .
    Checking genesis.vpatch against genesis.vpatch.thimbronion.sig ... passed.
    Checking genesis.vpatch against genesis.vpatch.thimbronion.sig ... passed.
    Checking genesis.vpatch against genesis.vpatch.thimbronion.sig ... passed.
    Pressing genesis.vpatch
    Checking hashes in genesis.vpatch
    Checking hash on ./blatta/test_net_configs/c.py
    Checking hash on ./blatta/test_net_configs/b.py
    Checking hash on ./blatta/test_net_configs/a.py
    Checking hash on ./blatta/start_test_net.sh
    Checking hash on ./blatta/scripts/gen_key_pair.py
    Checking hash on ./blatta/lib/state.py
    Checking hash on ./blatta/lib/server.py
    Checking hash on ./blatta/lib/serpent.py
    Checking hash on ./blatta/lib/ringbuffer.py
    Checking hash on ./blatta/lib/peer.py
    Checking hash on ./blatta/lib/infosec.py
    Checking hash on ./blatta/lib/funcs.py
    Checking hash on ./blatta/lib/commands.py
    Checking hash on ./blatta/lib/client.py
    Checking hash on ./blatta/lib/channel.py
    Checking hash on ./blatta/lib/__init__.py
    Checking hash on ./blatta/config.py.example
    Checking hash on ./blatta/blatta
    Checking hash on ./blatta/README.txt
    Success

  7. thimbronion says:

    Excellent. I will aim to release vpatches going forward.

  8. PeterL says:

    So I started poking around with it a bit and here are a few comments:

    In file blatta: version description text still says "alcuin", should be updated to "blatta". Also, it describes itself as an "IRC emulator", which might be underselling itself since it has the basic functionality of an IRC server?

    Maybe add something to the readme about when setting up the test net, the logs directory has to be created.

    I got the test net running, and I was able to connect to two instances and talk to myself, so it seems to be working! I was not sure from wading through the source, does this support direct messaging yet?

    Do you have a test instance running? I would be interested in trying to connect.

  9. thimbronion says:

    Thanks for the errata and suggestions, PeterL. Didn't see this comment in time to get them into 9992, but I will address them in the future. There is a testnet. I'll send you a key and address via gpggram.

  10. thimbronion says:

    Also, yes, DMs are supported.

Leave a Reply