Re: [fpc-devel] Google APIs - Authenticate using a service account?

2020-06-30 Thread Michael Van Canneyt
On Tue, 30 Jun 2020, Wayne Sherman via fpc-devel wrote: On Tue, Jun 30, 2020 at 1:36 AM Michael Van Canneyt wrote: I know. But we can't include Synopse in FPC. Can just the JWT/crypto portions be incorporated if it makes sense? I'd rather not: morMot is tightly integrated, and I would

Re: [fpc-devel] Google APIs - Authenticate using a service account?

2020-06-30 Thread Wayne Sherman via fpc-devel
On Tue, Jun 30, 2020 at 1:36 AM Michael Van Canneyt wrote: > > I know. But we can't include Synopse in FPC. Can just the JWT/crypto portions be incorporated if it makes sense? It is released under these Open Source licenses: Mozilla Public License, version 1.1 or later (MPL); GNU General P

Re: [fpc-devel] Google APIs - Authenticate using a service account?

2020-06-30 Thread Michael Van Canneyt
On Tue, 30 Jun 2020, Wayne Sherman via fpc-devel wrote: On Tue, Jun 30, 2020 at 12:47 AM Michael Van Canneyt wrote: The problem with the service account is that you must create a JWT Token. FPC does not yet have a unit that can generate *and sign* a JWT Token. The good news is I have this w

Re: [fpc-devel] Google APIs - Authenticate using a service account?

2020-06-30 Thread Wayne Sherman via fpc-devel
On Tue, Jun 30, 2020 at 12:47 AM Michael Van Canneyt wrote: > The problem with the service account is that you must create a JWT Token. > FPC does not yet have a unit that can generate *and sign* a JWT Token. > > The good news is I have this weekend a reminder that I received some code > that will

Re: [fpc-devel] Google APIs - Authenticate using a service account?

2020-06-30 Thread Michael Van Canneyt
On Fri, 26 Jun 2020, Wayne Sherman via fpc-devel wrote: Is there support in the fpc google api units for authenticating as a service account? Background: Service accounts allow an application to interact with Google APIs without authenticating as a specific user. Instead a service account is

Re: [fpc-devel] OpenSSL v1.1.x DLL loading / Bug 37137

2020-06-30 Thread Michael Van Canneyt
On Tue, 30 Jun 2020, Wayne Sherman via fpc-devel wrote: OpenSSL library loading fixes. Patch file is attached. Comments are welcome. Summary: 1) For Windows and OS2, remove DLLSSLNameX and DLLUtilNameX variables. Instead use matched arrays of DLL filenames (SSL_DLL_Names and Crypto_DLL_N

Re: [fpc-devel] OpenSSL v1.1.x DLL loading / Bug 37137

2020-06-30 Thread Wayne Sherman via fpc-devel
OpenSSL library loading fixes. Patch file is attached. Comments are welcome. Summary: 1) For Windows and OS2, remove DLLSSLNameX and DLLUtilNameX variables. Instead use matched arrays of DLL filenames (SSL_DLL_Names and Crypto_DLL_Names) 2) Due to refactoring, remove LoadLibHack or Load