-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
Use local encryption setting as default #100
Conversation
Thanks for the contribution! Have you tested this change locally? Did it resolve #64 for you? |
2x Yes.. |
Ok, I will generate a build with these changes and give it a try. |
A pre-release is currently building. Once that's done I'll try it out and will merge if everything is working as expected. https://github.com/johndbritton/teleport/releases/tag/v1.3.4-pre https://github.com/johndbritton/teleport/actions/runs/1049645004 |
Looks like the automated build and sign isn't working due to a missing gem or something. I'll have to try again later. |
Confirming I built this with Xcode 13 and have tested for about a day. Observations: What good luck: I definitely agree that this fix is a positive step. On multihomed Macs (which is pretty much every machine these days), teleport has been extremely frustrating. This fix (at least for non-encrypted connections - haven't tested encryption) resolves all the issues I've been having (yes, #64 and #100), and configuration/connection/reconnection is now 100% reliable. What bad luck: A multi homed client now sees itself as a possible host to connect to, that is at the top of the layout panel. Screenshot attached. Appears to be harmless, even if you try to connect (nothing bad happens), but it's maybe not the best UX, and perhaps a filter preventing display of self-originated bonjour addresses would be a good idea. I do use an avahi bonjour reflector between routed VLAN subnets on this network. The devices I have been testing are on the same bridged wired/wifi VLAN subnet so I don't think that's a factor, but can't rule it out because I can't disable the reflector non-disruptively here. @johndbritton I would not suggest holding the build on this basis because it's such a fantastic improvement, but a release note to mention this as a possible side effect might be advisable. For anybody else looking to test drive this branch and who hasn't used Xcode for, like, a decade, as was the case for me:
Once successfully built, quit and rename/move your original teleport 1.3.3 app from the Applications folder. Remove teleport from your Mac's System Preferences>Security & Privacy>Accessibility panel. Move the newly built teleport in and launch. I did not need to delete or erase preferences. It was a beautiful thing that just started connecting properly like it was always supposed to. |
@marcpbailey any chance you know why the automated build is failing? Haven't had time to fix that. |
Hi @johndbritton I'm afraid I've had no experience with automated Xcode builds. Embarrassingly, the last production compile I did with Xcode was for a PowerPC binary! |
I'll try fixing the automated build, worst case I can upload a manual build but I'd prefer not to. |
If the client is not shared (advertised via Bonjour) the server does not find the encryption setting of the client and assumes always true. This change will adjust this behaviour and defaults to the local setting on the server.
@FliegenKLATSCH I finally got the automated builds working again and have created a prerelease that includes this fix here: https://github.com/johndbritton/teleport/releases/tag/v1.3.4-pre |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good and works locally for me, going to merge.
Please test out the prerelease and once I have a few other people saying the prerelease build is fine I'll fire off a stable build for the auto-updater.
https://github.com/johndbritton/teleport/releases/tag/v1.3.4-pre
Thanks @johndbritton. Confirming autobuild 1.3.4-pre is notarised and works as my own build did. |
Thanks for validating @marcpbailey. I've moved your Finder get info string request to a new issue (#115). I want to make that something that is automatically set every time a new version is created so I don't have to manually do it. |
If the client is not shared (advertised via Bonjour) the server does not find the encryption setting of the client and assumes always true.
This change will adjust this behaviour and defaults to the local setting on the server.