Minor update of liboauthcpp and a few warning fixes #7658

Closed
biodranik wants to merge 2 commits from ab-3party-oauthcpp into master
biodranik commented 2024-03-22 23:05:15 +00:00 (Migrated from github.com)
Thanks to `@Osyotr` for the MSVC build log: https://github.com/organicmaps/organicmaps/files/14728637/organicmaps-win-build-log.txt
biodranik commented 2024-03-23 00:23:36 +00:00 (Migrated from github.com)

Hmm, looks like liboauthcpp is not needed/used anymore when oauth2 is merged, right @strump ?

Hmm, looks like liboauthcpp is not needed/used anymore when oauth2 is merged, right `@strump` ?
Osyotr commented 2024-03-23 06:47:15 +00:00 (Migrated from github.com)

Base64/SHA1 stuff is used in other places.

Base64/SHA1 stuff is used in other places.
biodranik commented 2024-03-23 06:51:17 +00:00 (Migrated from github.com)

Base64/SHA1 stuff is used in other places.

I see, in coding. Is it the best possible implementation that we can use? The author didn't update the library for 6 years. Are there other better/faster alternatives? @Osyotr

> Base64/SHA1 stuff is used in other places. I see, in coding. Is it the best possible implementation that we can use? The author didn't update the library for 6 years. Are there other better/faster alternatives? `@Osyotr`
Member

@biodranik oauth2 doesn't use liboauthcpp. Maybe we can replace it with SHA1 lib

`@biodranik` oauth2 doesn't use `liboauthcpp`. Maybe we can replace it with SHA1 lib
Member

mentioned in merge request

mentioned in merge request !7333
Osyotr commented 2024-03-27 11:22:16 +00:00 (Migrated from github.com)

Are there other better/faster alternatives?

IMHO it's not worth adding an external dependency over these two algorithms.
It's possible to rip out code from https://github.com/weidai11/cryptopp (BSL-1.0).

> Are there other better/faster alternatives? IMHO it's not worth adding an external dependency over these two algorithms. It's possible to rip out code from https://github.com/weidai11/cryptopp (BSL-1.0).
Owner

@biodranik oauth2 doesn't use liboauthcpp. Maybe we can replace it with SHA1 lib

Who said SHA1??? Do we still have SHA1 anywhere in the code?

> `@biodranik` oauth2 doesn't use `liboauthcpp`. Maybe we can replace it with SHA1 lib Who said SHA1??? Do we still have SHA1 anywhere in the code?
vng commented 2024-05-22 02:51:34 +00:00 (Migrated from github.com)

We no longer have liboauthcpp.

We no longer have liboauthcpp.
vng (Migrated from github.com) closed this pull request 2024-05-22 02:51:34 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: organicmaps/organicmaps#7658
No description provided.