salrashid123
salrashid123
i needed this as well but just to create a JWT (not as in this PR to verify). But, yeah, it'd be nice to include this in. ```golang type MyCustomClaims...
@devjgm just to understand, there are several ways to get a google_id token from google credentials (atleast in other google-auth language libraries) which mode(s) are you looking at for this?...
for ref, here's a basic (read: i don't really know cpp) [standalone google id token generator](https://github.com/salrashid123/google_id_token/blob/master/cc/google_oidc.c) for the first two scenarios described above.
I'd prefer to pass through the env variables (I'd seek to minimize the impact to the runtime and only alter the few bits absolutely necessary and needed). In the example...
@iangudger I do think the local dev story and deployment will be pretty easy with the technique outlined above: All that you'd really need is docker and native language's toolchains...
@ssttevee @DazWilkin We maybe able to use [this sample](https://medium.com/google-cloud/triggering-cloud-functions-deployments-97691f9b5416) to simplify build steps by offloading much of it google container builder+cloud source repo (i think).
Spent sometime refactoring the .NET variation of GCF with multi-stage builds. It simplified the install/setup instructions considerably. - [https://github.com/salrashid123/cloud-functions-dotnet#quickstart--buildrun-with-cloud-shell](https://github.com/salrashid123/cloud-functions-dotnet#quickstart--buildrun-with-cloud-shell) (basically use multistage builds to compile execer, install the required .NET...
``` # tpm2_pcrread sha1:4,5,7+sha256:4,5,7 sha1: 4 : 0xBF2FA4828D4613C8C1CD4B8E6F926ED7B2081BE0 5 : 0x08FDB10D5F95A1157DA2B8D7A11E3FD59FC3A747 7 : 0xACFD7EACCC8F855AA27B2C05B8B1C7C982BFBBFA sha256: 4 : 0xF3AEA2992B888666F02B13C066FD35C67335D3FB77510214EF5C991522C5B2DF 5 : 0x6F95FCD8211BB4FE5B0196FEE4DAFFACB4A3175ED22D6554C2656F5CA4AEE5C8 7 : 0x3D91599581F7A3A3A1BB7C7A55A7B8A50967BE6506A5F47A9E89FEF756FAB07A ``` the log is at `gs://mineral-minutia-820-tpm/binary_bios_measurements`...
IMO, its fine to close this out w/ a note about debian10 (since its not just an issue with this library; i'd call it not in scope to hunt down...
not sure if this covers the same thing but i put together a trivial standalone xds server that works with grpc clients [here](https://github.com/salrashid123/grpc_xds) using `github.com/envoyproxy/go-control-plane v0.9.4` `google.golang.org/grpc v1.33.2`