TLS 1.2 for activate license of software Scrivener

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Davide83
Level 1
Level 1
Posts: 5
Joined: Tue Aug 27, 2019 11:35 am

TLS 1.2 for activate license of software Scrivener

Post by Davide83 »

Hi all,

I installed the last stable version of wine (4.0.2) in order to use some windows software. One of those is Scrivener 1.9.13.0.
I'm able to ionstall Scrivenr and it works proprly.
But, when I try to activate my license, Scrivener return me an error, saying to enable TLS 1.2. So i can just use the trial version for 30 days :(
How can I enable this protocol in order to permit to scrivener to communicate with the server and activate my license?

Thank you to everybody wants to help me
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: TLS 1.2 for activate license of software Scrivener

Post by Gcenx »

If your running Linux ensure you have all the dependencies installed.

If your running macOS your outta luck ad the macOS builds are compiled with gnutls support.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: TLS 1.2 for activate license of software Scrivener

Post by DarkShadow44 »

Can you provide a download for testing? You shouldn't need a license to reproduce the error, right?
Davide83
Level 1
Level 1
Posts: 5
Joined: Tue Aug 27, 2019 11:35 am

Re: TLS 1.2 for activate license of software Scrivener

Post by Davide83 »

Hi,
sorry to be late in this answer.

I still have the problem and I really need to solve it.

For dependencies, I think I have all. There is a way to be sure of that?

Then , I'm not able to provide a download for testing, can you help me to find the information?

Here a snapshot of my error message.
Capture du 2019-09-17 14-47-12.png
Thank you to everybody for helping me !!
acerimmerjr
Newbie
Newbie
Posts: 1
Joined: Wed Sep 18, 2019 12:33 am

Re: TLS 1.2 for activate license of software Scrivener

Post by acerimmerjr »

I have this same problem. I have wine-4.0.2 installed on Ubuntu 18.04.3 LTS. No dependencies missing according to "apt-cache depends wine". OpenSSL 1.1.1 is installed. I'm not blocking any outgoing network connections.

I installed IE6 based on an old (2017) testing comment on https://appdb.winehq.org/objectManager. ... &iId=34857 but that didn't help. IE6 seems to run fine and can access https://duckduckgo.com/lite/ no problem, though it doesn't reveal what protocol is it using other than "SSL Secured (128 Bit)".

I updated Scrivener According to literatureandlatte.com, "This update resolves a critical issue with the Paddle software, introduced end of June 2019, principally with automatic re-activation." It did not resolve my "Please enable TLS 1.2 on this machine" error message.

Although anyone can download a trial version from https://www.literatureandlatte.com/scrivener/download it won't display the error without a valid license code, so that's no help if non-customers want to replicate the issue on demand. However, I notice that after continuing my trial the Help -> Buy Now menu item is greyed out and says "Buy Now ... Searching for License Server."
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: TLS 1.2 for activate license of software Scrivener

Post by DarkShadow44 »

Davide83 wrote: Tue Sep 17, 2019 1:59 pm For dependencies, I think I have all. There is a way to be sure of that?
A terminal log should show missing dependencies.
RobK
Newbie
Newbie
Posts: 4
Joined: Tue Sep 24, 2019 4:35 am

Re: TLS 1.2 for activate license of software Scrivener

Post by RobK »

DarkShadow44 wrote: Wed Sep 18, 2019 11:32 am A terminal log should show missing dependencies.
Thank you, @DarkShadow44. As a Linux Mint newbie, faced with the same "activate TLS 1.2" problem, I'm at a loss, however.

I tried to learn how to use terminal logs, but found that there is a baffling number of logs at different places on the system. In addition to that, I don't know where Scrivener creates its log.

Besides which, it appears to be a problem with Paddle, the helper programme that Scrivener calls on to handle payments and licenses, not with Scrivener itself, which is functioning perfectly, be it in Trial mode. Apparently, Paddle requires Transport Layer Security 1.2 to operate safely. It sounds logical then that TLS 1.2 should be activated, and the original question remains: how does one do that on a Linux system?

Further help, taking into account that most of the posters in this topic appear to be new to Linux, would be appreciated!
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: TLS 1.2 for activate license of software Scrivener

Post by DarkShadow44 »

You only need the wine log, see https://wiki.winehq.org/FAQ#How_can_I_g ... tput.29.3F.
If there's something (obviously) wrong, then it will show in this log. If you have all dependencies, AFAIK, you should have TLS1.2 as well.
RobK
Newbie
Newbie
Posts: 4
Joined: Tue Sep 24, 2019 4:35 am

Re: TLS 1.2 for activate license of software Scrivener

Post by RobK »

Thank you, will try that, and report back here (in a couple of days, as I am travelling now).
Davide83
Level 1
Level 1
Posts: 5
Joined: Tue Aug 27, 2019 11:35 am

Re: TLS 1.2 for activate license of software Scrivener

Post by Davide83 »

Thank you @DarkShadow44,

Here the log.
I opened Scrivener with the terminal.
I click on activate license, I entered credentials.
and I got the same error.
Here, all the log produced in terminal during these manipulations.

In particulars, I see something like that which make me perplex = "".NETFramework,Version=v4.5" not implemented/"

But what do you think? There is here some way to find a solution to our problem?


00c3:fixme:font:get_outline_text_metrics failed to read full_nameW for font L"Ani"!
00c3:fixme:nls:GetThreadPreferredUILanguages 00000034, 0x33e6e0, 0x33e750 0x33e6e8
00c3:fixme:nls:get_dummy_preferred_ui_language (0x34 0x33e6e0 0x33e750 0x33e6e8) returning a dummy value (current locale)
00c3:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
00c3:fixme:file:FindFirstFileExW flags not implemented 0x00000002
00c3:err:module:import_dll Library QtSvg4.dll (which is needed by L"C:\\Program Files (x86)\\Scrivener\\imageformats\\qsvg4.dll") not found
00c3:fixme:file:FindFirstFileExW flags not implemented 0x00000002
00c3:fixme:file:FindFirstFileExW flags not implemented 0x00000002
00c3:fixme:file:FindFirstFileExW flags not implemented 0x00000002
00c3:fixme:imm:NotifyIME IMC_SETCANDIDATEPOS
00c3:fixme:imm:ImmReleaseContext (0xc0082, 0x18cc48): stub
00c3:fixme:win:FlashWindowEx 0x33f1b4 - semi-stub
00c3:fixme:win:FlashWindowEx 0x33f104 - semi-stub
00c3:fixme:file:FindFirstFileExW flags not implemented 0x00000002
00c3:fixme:win:FlashWindowEx 0x33d144 - semi-stub
00c3:fixme:imm:NotifyIME IMC_SETCANDIDATEPOS
00c3:fixme:win:FlashWindowEx 0x33c824 - semi-stub
00c3:fixme:imm:NotifyIME IMC_SETCANDIDATEPOS
00c3:fixme:win:FlashWindowEx 0x33a864 - semi-stub
00c3:fixme:imm:NotifyIME IMC_SETCANDIDATEPOS
00c8:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.5" not implemented
00c8:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"appSettings" in state 2
00c8:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6
00c8:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6
00c8:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"dependentAssembly" in state 0
00c8:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"assemblyIdentity" in state 6
00c8:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"bindingRedirect" in state 6
00c8:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"system.web" in state 2
00c8:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"membership" in state 6
00c8:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"providers" in state 6
00c8:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6
00c8:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"roleManager" in state 6
00c8:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"providers" in state 6
00c8:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: TLS 1.2 for activate license of software Scrivener

Post by DarkShadow44 »

Hum, nothing suspicious there. Too bad one can't test without a valid license code.

Also note, that this "TLS 1.2" Issue might be a red herring.

I'm attaching a small sample for dotnet4.0, which downloads a file called "out.html". Does this file say you use TLS1.2?
Attachments
testSSL.zip
(2.17 KiB) Downloaded 436 times
RobK
Newbie
Newbie
Posts: 4
Joined: Tue Sep 24, 2019 4:35 am

Re: TLS 1.2 for activate license of software Scrivener

Post by RobK »

I followed Davide83's example and got the log for Scrivener, copied below. When you start Scrivener, it invokes the Paddle.exe helper program which handles the registration and payment. I assume that this is the program that requires TLS 1.2, not Scrivener, which runs as it should - in trial mode.

I also got the log for Paddle, which is copied below the Scrivener one.

And I unpacked DarkShadow44's testSSL.zip and ran it, but it did nothing, other than showing me a blank Terminal window for half a second.

First, the Scrivener log:

Code: Select all

0043:fixme:font:get_outline_text_metrics failed to read full_nameW for font L"Ani"!
0043:fixme:nls:GetThreadPreferredUILanguages 00000034, 0x33e6e0, 0x33e750 0x33e6e8
0043:fixme:nls:get_dummy_preferred_ui_language (0x34 0x33e6e0 0x33e750 0x33e6e8) returning a dummy value (current locale)
0043:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0043:fixme:file:FindFirstFileExW flags not implemented 0x00000002
0043:err:module:import_dll Library QtSvg4.dll (which is needed by L"C:\\Program Files (x86)\\Scrivener\\imageformats\\qsvg4.dll") not found
0043:fixme:ntdll:server_ioctl_file Unsupported ioctl 110004 (device=11 access=0 func=1 method=0)
0043:fixme:msvcrt:__clean_type_info_names_internal (0x2f34f1c) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0x2ee54ac) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0x2ed643c) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0x2e9244c) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0x2e5847c) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0x2e4745c) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0x788b0e54) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0x6209b61c) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0x3ab7f4) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0x37edd4) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0x2562b1c) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0x640ce994) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0x1002d79c) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0x657a3b7c) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0x610537ec) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0x67260174) stub
And this is the Paddle log:

Code: Select all

0053:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.5" not implemented
0053:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"appSettings" in state 2
0053:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6
0053:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6
0053:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"dependentAssembly" in state 0
0053:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"assemblyIdentity" in state 6
0053:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"bindingRedirect" in state 6
0053:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"system.web" in state 2
0053:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"membership" in state 6
0053:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"providers" in state 6
0053:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6
0053:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"roleManager" in state 6
0053:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"providers" in state 6
0053:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6
My question to you, helpful people here: can you see anything here that explains why Paddle is refusing to accept the (correct) credentials that I enter when I start Scrivener under WINE? And what can I do to remedy this?



Attached is a screenshot of the Paddle error message. The "Show details΅ button produced an empty frame, no details.
Paddle-error.png
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: TLS 1.2 for activate license of software Scrivener

Post by DarkShadow44 »

RobK wrote: Sun Sep 29, 2019 4:43 amAnd I unpacked DarkShadow44's testSSL.zip and ran it, but it did nothing, other than showing me a blank Terminal window for half a second.
As I said, it downloads a file called "out.html". Just open it in a browser. Does this file say you use TLS1.2?

Sadly, those logs don't say much. Does paddle always crash? Because I didn't assume it did.
For crashes you should always click "close", then they also appear in the log properly.
garpu
Level 2
Level 2
Posts: 46
Joined: Fri Oct 08, 2010 12:05 pm

Re: TLS 1.2 for activate license of software Scrivener

Post by garpu »

Like the Scrivener dev mentioned, you need to install at least dotnet45 via winetricks, and it'll register. Some need to remove wine-mono, as well.

Dev's post: https://www.literatureandlatte.com/foru ... 33&t=58818
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: TLS 1.2 for activate license of software Scrivener

Post by Gcenx »

Im not sure why the developer says that when winetricks by default removes mono if it’s installed unless they had install winetricks from there package manager and that was providing an older version of winetricks.
RobK
Newbie
Newbie
Posts: 4
Joined: Tue Sep 24, 2019 4:35 am

Re: TLS 1.2 for activate license of software Scrivener

Post by RobK »

Solved! Thank you Darkshadow44, garpu and Gcenx for your help.

My registration credentials got accepted by Paddle, and I'm now running my registered copy of Scrivener via WINE 4.0 under LinuxMint.

As recommended by some people here and over on Scrivener's literatureandlatte.com forum, I installed .NET, and that proved to be the answer.

For those who, like me, are Linux novices but are willing to spend some time on this, here is what I did.
  • I went to Software Manager and installed Winetricks
  • I ignored the messages about 32-bit and 64-bit prefixes (did not understand them; I've got a 64-bit system)
  • In Winetricks, I selected the default wineprefix (without understanding what it meant)
  • I clicked Install a Windows dll or component
  • I scrolled down to find dotnet 4.6.1
  • and selected Install
  • What follows is a lengthy procedure - say, one hour - where successive versions of .NET are installed, with worrying popups which you can ignore and click OK on, and where for long stretches of time, nothing seems to be happening (apart from the frantically blinking harddisk LED)
  • Whenever an "accept this end user agreement" window pops up, click 'have read and accept'. This occurs for every successive version of .NET. It is apparently a cumulative process, ending with the installation of the .NET version (4.6.1) that you selected.
  • When that final version has been installed at last, and no more popups are forthcoming, close all apps or whatever they are called in Linux parlance (still learning) and restart your computer.
  • Fire up Scrivener, fill in your registration data, wait for that slooow connection to check everything, and hopefully, receive an affirmative message like the one I got.
Attachments
activation-success.png
Davide83
Level 1
Level 1
Posts: 5
Joined: Tue Aug 27, 2019 11:35 am

Re: TLS 1.2 for activate license of software Scrivener

Post by Davide83 »

Hi,

I tried to follow all the instructions of RobK, to which I say thank you for sharing that.

But, unfortunately, I did not solve the problem.

Something happens, and now, I have a new problem, with .NET 4.

It is installed, but scrivener doesn't recognize it. I put here some screenshots

Scrivener problem:
Capture du 2019-10-02 09-42-50.png

Winetricks message for NET installation:
Capture d’écran de 2019-10-02 09-47-44.png
Capture d’écran de 2019-10-02 09-47-44.png (15.99 KiB) Viewed 12463 times
Capture d’écran de 2019-10-02 09-47-32.png
Davide83
Level 1
Level 1
Posts: 5
Joined: Tue Aug 27, 2019 11:35 am

Re: TLS 1.2 for activate license of software Scrivener

Post by Davide83 »

After uninstalling everything in wine and starting a new configuration of wine,
I installed .NET 4.5 (because 4.6.1 or 4.6.2 does not work).
After that the I activate successfully my copy of scrivener!

So the main solution for this issue is to properly install .NET infrastructure!

Thank you to everybody!
Zelator57
Newbie
Newbie
Posts: 3
Joined: Tue Jul 04, 2017 9:44 pm

Re: TLS 1.2 for activate license of software Scrivener

Post by Zelator57 »

I had this problem, now fixed thanks to the posts here, and to RobK for listing the process step-by-step.
I now have, I think, .NET 4.8.
Locked