-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
security: accessing cockroach demo in another shell is difficult #46551
Comments
@jordanlewis @knz I think we should consider reverting the change to use Cockroach Demo in secure mode by default. |
@awoods187 it looks to me here that you're trying reaaaaaly hard to find very unlikely scenarios specifically because you have an irk with the secure mode.
To be short - we should not be piling worse upon bad in the |
Something else you should consider here is that if you have a multi-user system, or say some background apps running on the same machine as your There's no track record of applications built to run on a personal laptop that start non-authenticated services over the network. This is just "not done" in the entire industry. FWIW this is exactly the kind of practice that makes people very critical of Zoom atm because of a similar flaw they had in their software a year or two ago. We don't want to be in the same reputation ball park. |
Feature-wise the outcome we need here:
|
we have solved this by making the demo SQL URL use |
Now that cockroach demo is secure by default, its challenging to access it in another shell:
Taking that data
127.0.0.1:59797
I never set up certificates because this is cockroach demo. How do I access the other shell?
I think we should revert secure by default and make cockroach demo insecure with a flag option to make it secure. It is possible to do this by passing the --insecure flag but that seems to be an additional burden when the majority of users in cockroach demo are simply trying out cockroachdb--not testing secure mode.
Build Tag: v20.1.0-beta.2-1072-g6c3c5d4a9a
Build Time: 2020/03/25 12:43:24
Distribution: CCL
Platform: darwin amd64 (x86_64-apple-darwin19.3.0)
Go Version: go1.13.4
C Compiler: 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.17)
Build SHA-1: 6c3c5d4
Build Type: development
The text was updated successfully, but these errors were encountered: