My 2 debian bookworm bridges I just installed were missing the pt_state directory with the 2 files in it: obfs4_bridgeline.txt, obfs4_state.json.
I can find the ip, port and fingerprint to put in it, but don’t know where to find the cert. It seems to have been supplied automatically in earlier bridges. I think I could find it somewhere, but can’t think how to supply the obfs4_state.json file.
I have no idea how this affects the distribution type or not at all or how to re-populate the pt_state directory. Is this important enough to worry about?
Only the json file in the pt_state directory is needed. Set the owner ship to tor. As soon as tor starts and launches obfs4, the bridge txt file is generated.
The json file is the id of the obfs4 bridge and holds private and public keys.
I have no json file at all, as the pt_state directory was never created on install. Now I have created the pt_state directory, would removing and reinstalling obfs4 create the json file? I don’t know how this works.
Only the json file in the pt_state directory is needed. Set the owner ship to tor. As soon as tor starts and launches obfs4, the bridge txt file is generated.
The json file is the id of the obfs4 bridge and holds private and public keys.
Thank you, Gus! I had missed that line - the torrc came over from when it was running on freeBSD. I changed the path, restarted tor, and the pt_state and files were created.