https://bugs.documentfoundation.org/show_bug.cgi?id=164781

--- Comment #30 from Patrick (volunteer) <[email protected]> ---
(In reply to Michael Stahl from comment #29)
> on Linux systems you can use `gvfs` UCP to access `sftp` URLs.

gvfs appears to have been ported to macOS. It's not bundled with macOS but
MacPorts (https://ports.macports.org/port/gvfs/) provides binaries.

It's not ideal, but if installing MacPorts and gvfs is something the
LibreOffice users who would use this feature could live with, then maybe we
could use the same approach as Linux?

> also, depending on the system, it may or may not be possible to input `http`
> URLs in the file picker dialog; what should always work is to invoke
> `soffice` with a `http` URL on the command line.

So I think I have confirmed that loading https using libcurl plus the patch in
comment #17 does use the macOS native certificate store.

Here's what I did: Running in lldb, break on SecPolicyCreateSSL (macOS
function), open an empty Writer document, enabled the "Load URL" toolbar item,
and enter https://bugs.documentfoundation.org/show_bug.cgi?id=164781 in the
Load URL's combo box.

Once lldb hit the break, I next'd through the calling libcurl function
Curl_vtls_apple_verify() until it returned. It returned CURLE_OK for me and I
saw it loop through some certs so I think libcurl is using the native
certificate store.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to