Repository navigation
Conversation
lol @joshaber wanna take a shot at the API docs for this? |
|
Instead of adding a separate api, what do you think about making |
Yup, I'll definitely add docs before this is done.
I'm into that. I wasn't sure how overloaded we wanted to make that API, since this seems to be a little different from simply importing. |
|
Correct me if I am wrong, the purpose of |
|
Right, the distinction I was thinking of was that while But like I said, I'm happy to defer to you all on this. |
|
Thanks for the explanation! the purpose is clear to me now. For #1956 users want an api that does all the import and setting trust bits, in a way that the app setup doesn't disturb their end users with UI dialogs. I am ok with adding this api, but if the purpose was to fix #1956 then |
|
Ah, I see. The propose of this PR is separate from addressing #1956. I'll cross out the line about that. |
Is there a roughly similar equivalent UI/flow on Windows? Just wondering because the macOS version of this seems like an API that might best fit on |
@shiftkey could answer this better than I, but as best as I know it's pretty similar. There's a dialog box that shows some info about the certificate and gives you the option of importing. I'm down to move it to |
|
Gonna re-open in the repository proper so I get full CI. |
The first flow that came to mind was from Fiddler - a HTTP debugging app for Windows. To decrypt HTTPS traffic it needs to install a trusted root certificate so that it can act as a proxy and rewrite HTTPS requests on-the-fly. Here's the flow it uses:
Unfortunately I haven't found a good equivalent on Windows to the unified "here's the details, do you trust this cert?" screenshot from @joshaber above: But I'll report back soon on what I can find... |







Add the
app.showCertificateTrustAPI to show the OS-provided UI to let the user decide to accept and trust a self-signed or untrusted certificate:I believe this would address #1956.Negative, see the discussion below.This is only the macOS-side of things. I think we can get @shiftkey to do the Windows side.
I'm opening this early because I have no idea what I'm doing and I'd welcome any feedback or advice anyone would like to provide.