RESOLVED FIXED Bug 164461
[EFL] Use libgcrypt instead of GnuTLS for CryptoDigest
https://bugs.webkit.org/show_bug.cgi?id=164461
Summary [EFL] Use libgcrypt instead of GnuTLS for CryptoDigest
Gyuyoung Kim
Reported 2016-11-06 04:04:59 PST
As GTK port in r208297, EFL port starts to use libgcrypt instead of GnuTLS as well.
Attachments
Patch (5.73 KB, patch)
2016-11-06 04:10 PST, Gyuyoung Kim
no flags
Patch for landing (3.81 KB, patch)
2016-11-06 05:45 PST, Gyuyoung Kim
no flags
Patch for landing (3.81 KB, patch)
2016-11-06 05:49 PST, Gyuyoung Kim
no flags
Patch (4.99 KB, patch)
2016-11-06 18:14 PST, Gyuyoung Kim
no flags
Patch (4.99 KB, patch)
2016-11-07 18:16 PST, Gyuyoung Kim
no flags
Gyuyoung Kim
Comment 1 2016-11-06 04:10:52 PST
Olivier Blin
Comment 2 2016-11-06 04:29:07 PST
(In reply to comment #1) > Created attachment 294019 [details] > Patch Looks good. Once this lands, we can remove the two GnuTLS classes containing the previous implementation, and move the remaining GnuTLS stubs to the gcrypt folder.
Michael Catanzaro
Comment 3 2016-11-06 05:14:14 PST
Comment on attachment 294019 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=294019&action=review r+, though I've been having some second thoughts about this myself. Since we'll already use GnuTLS anyway by default, maybe it makes sense to stick with that one crypto library for everything, and have the gcrypt support here just as a fallback for embedded device vendors that want to avoid GnuTLS. Shrug! > Source/cmake/OptionsEfl.cmake:124 > +WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SUBTLE_CRYPTO PUBLIC ON) You probably don't want to do this! This feature is incomplete and unstable and buggy and nobody is working to fix that. It's enabled in FeatureList.pm for developers.
Gyuyoung Kim
Comment 4 2016-11-06 05:45:02 PST
Created attachment 294022 [details] Patch for landing
Gyuyoung Kim
Comment 5 2016-11-06 05:46:27 PST
(In reply to comment #3) > > Source/cmake/OptionsEfl.cmake:124 > > +WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SUBTLE_CRYPTO PUBLIC ON) > > You probably don't want to do this! This feature is incomplete and unstable > and buggy and nobody is working to fix that. It's enabled in FeatureList.pm > for developers. Ok, I restore it to off.
Gyuyoung Kim
Comment 6 2016-11-06 05:49:05 PST
Created attachment 294023 [details] Patch for landing
Michael Catanzaro
Comment 7 2016-11-06 06:11:03 PST
Comment on attachment 294023 [details] Patch for landing Remember that we can't commit today while Apple's continuous integration is broken! Got to wait until that's fixed....
Michael Catanzaro
Comment 8 2016-11-06 06:11:38 PST
Although, this should really be safe, since it's EFL-specific, maybe it's fine.
Gyuyoung Kim
Comment 9 2016-11-06 18:14:05 PST
Gyuyoung Kim
Comment 10 2016-11-06 20:27:42 PST
(In reply to comment #8) > Although, this should really be safe, since it's EFL-specific, maybe it's > fine. Yes, this patch is really EFL specific.
Olivier Blin
Comment 11 2016-11-07 01:21:20 PST
(In reply to comment #3) > Comment on attachment 294019 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=294019&action=review > > r+, though I've been having some second thoughts about this myself. Since > we'll already use GnuTLS anyway by default, maybe it makes sense to stick > with that one crypto library for everything, and have the gcrypt support > here just as a fallback for embedded device vendors that want to avoid > GnuTLS. > > Shrug! gcrypt is now used for ClearKey support in EME, see bug 162928. If you want to go back on this, OpenSSL would actually be a better alternative for embedded devices.
WebKit Commit Bot
Comment 12 2016-11-07 12:38:42 PST
Comment on attachment 294040 [details] Patch Rejecting attachment 294040 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-02', 'validate-changelog', '--check-oops', '--non-interactive', 294040, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit ChangeLog entry in ChangeLog contains OOPS!. Full output: http://webkit-queues.webkit.org/results/2468793
Gyuyoung Kim
Comment 13 2016-11-07 18:16:18 PST
WebKit Commit Bot
Comment 14 2016-11-09 10:27:13 PST
Comment on attachment 294109 [details] Patch Clearing flags on attachment: 294109 Committed r208440: <http://trac.webkit.org/changeset/208440>
WebKit Commit Bot
Comment 15 2016-11-09 10:27:18 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.