• HatchIT doesn't use/write TIC passwords

    From Anna Christina Na¿@VERT to GitLab issue in main/sbbs on Wed Nov 10 14:56:36 2021
    open https://gitlab.synchro.net/main/sbbs/-/issues/305

    Hi,

    I've noticed that in SBBS 3.18b, HatchIT does not write the TIC password to TIC files.
    As far as I can see, this occurs when the links in sbbsecho use 5D addressing, eg. `420:2/1.1@weednet`.

    Using this small JS, the problem can be made visible:

    `#!/usr/bin/env jsexec
    load("sbbsdefs.js");
    load("fidocfg.js");

    var sbbsecho = new SBBSEchoCfg();

    var link4d = "420:2/1.1";
    var link5d = "420:2/1.1@weednet";

    writeln('4D: ' + sbbsecho.get_ticpw(link4d));
    writeln('5D: ' + sbbsecho.get_ticpw(link5d));`

    On my system, this outputs:
    `4D: undefined
    5D: <my password>`

    The SBBSEchoCfg() array contains all link passwords and get_ticpw() is checking against it, but this won't match if the link given to get_ticpw() is only 4D - but the links are 5D in the array.

    I already downloaded the latest version of fido_syscfg.js, but the result stays the same.

    Besides, I think `get_ticpw()` should be used in HatchIT instead of `get_pw()` - or am I mistaken?

    Thank you!

    Regards,
    Anna

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Anna Christina Na¿@VERT to GitLab note in main/sbbs on Fri Jan 14 02:30:30 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/305#note_2196

    Hi,

    I think I've worked out the TIC password problem, I've changed the ``get_pw()`` line into:

    ```
    pw = sbbsecho.get_ticpw(FIDO.parse_addr(link).toString());
    ```

    So this way, a linked node address will be first converted into a full 5D FIDO address and then the TIC password will be fetched.
    For my WeedNet nodelist hatching system, it is working now :)

    See issue #274 for the latest version of my hatchit.js file.

    Regards,
    Anna

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Anna Christina Na¿@VERT to GitLab issue in main/sbbs on Fri Jan 14 02:31:32 2022
    close https://gitlab.synchro.net/main/sbbs/-/issues/305

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net