Subj : Re: Use passwords only if needed?
To   : buanzo
From : g00r00
Date : Wed Apr 07 2021 03:52 pm

bu> Right. What about this pseudocode?

The key is off of the address of the sender and the test is if the passwords match or not.  I could change it but that is how its coded as it stands today.

Here is the current logic in the latest A47 code with exact error message text:

If sender's address is known (ie there is a configuration entry for the address):
   If PKT password does not match configuration's PKT password:
        error "PKT password does not match password set for 1:1/1"

If sender's address is unknown:
   If PKT has password:
        error "PKT password found but no configuration for 1:1/1"

To me it seems pretty straghtforward but feel free to make changes to that logic if you think it needs it!

--- Mystic BBS v1.12 A47 2021/04/01 (Windows/64)
* Origin: Sector 7 | Mystic WHQ (1:129/215)