Evgeny Prigorodov

Results 21 comments of Evgeny Prigorodov

Since restore command requires a snapshot ID, how is it possible to obtain programmatically ID of a snapshot made at given date?

@rawtaz If `restic` should be used from a script / pipeline, which is given restore date as a parameter, what is recommended way to do 2) programmatically?

@rawtaz Point-in-time restore is a primary use case for keeping multiple backup snapshots in general. If all restore operations only used the "latest" snapshot then there would be no need...

Technically, this change should be simple: just handling a new `--before` command line filter in addition to existing `--tag`, `--host`, `--path`, and then changing a single line in [snapshot_find.go/FindLatestSnapshot()](https://github.com/restic/restic/blob/cba6ad8d8ea97be2aaead9d3c9232593d1f8f529/internal/restic/snapshot_find.go#L42): ```...

Tested a workaround with helper script, as suggested in the [comment](https://github.com/restic/restic/issues/2466#issuecomment-631124141) above: [Python script gist](https://gist.github.com/eprigorodov/c9db362a78339a317624e9c7d479b0f3). Usage: ``` restic snapshots --json | python3 find_snapshot.py YYYY-MM-DD.HH:MM+HH:MM ``` Some details can make the...

A sufficient number of JWT validation checks is being performed in the [`msal.oauth2cli.oidc.decode_id_token()`](https://github.com/AzureAD/microsoft-authentication-library-for-python/blob/02686350a0b023d610b1d7a7249a3bb9c275ced7/msal/oauth2cli/oidc.py#L31), which is called upon adding tokens into `TokenCache`: [token_cache.py:137](https://github.com/AzureAD/microsoft-authentication-library-for-python/blob/02686350a0b023d610b1d7a7249a3bb9c275ced7/msal/token_cache.py#L137). But these checks do not include signature verification,...

@rayluo, thank you for pointing out, indeed I was looking for an issue about ID token validation and misread the actual subject. @cheslijones, access tokens issued for Microsoft APIs are...

@cheslijones The MSAL is a client authentication library. Server middleware libraries are listed here: https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-v2-libraries#microsoft-supported-server-middleware-libraries For Django you can try [authlib](https://docs.authlib.org/en/latest/django/2/resource-server.html#resource-server). It uses the same approach as the code in...

Hi @datasleek, as per [documentation](https://docs.microsoft.com/en-us/azure/active-directory/develop/id-tokens#payload-claims), the audience "aud" claim in ID token is either Application (client) ID or Application ID URI, e.g.: ``` '3513283e-1abe-420c-8de0-7415d2d26ae0' 'api://3513283e-1abe-420c-8de0-7415d2d26ae0' ``` Application ID URI can...

@tomazos : could you check if the code works with glog version 0.3.4? If yes, then the breaking commit is a93a4511ec5f21b44a1b21b4310c7a9c30c213a5 and the failing condition is in the line 359:...