Re: Fade In and Out on Mobile

2016-10-26 Thread Sannyasin Brahmanathaswami
jac...@hyperactivesw.com> wrote: >But apparently we have no cross platform option on Mobile devices. Dissolve works on mobile too, and I think it's less load on the CPU than setting blendlevels. -- BR: Hmmm another dictionary "outage" ?? under the visual effect entry…

Re: override HTTPS certificate failure

2016-10-26 Thread Charles Warwick
On 27/10/2016 9:19 AM, Charles Warwick wrote: I believe that it's a fantastic idea to deprecate libUrlSetSSLVerification, replacing it with a more fine-grained property that lets you select specific hosts! It would be even better to couple this with a way to make libURL _only_ accept a

Re: not so much a bug, but a needed workaround

2016-10-26 Thread Dr. Hawkins
On Wed, Oct 26, 2016 at 3:09 PM, J. Landman Gay wrote: > Have the frontscript check the name of the target, and if "scriptEditor" > is in it, just pass the mousemove message. That's what I had figured--but the problem here is that if single stepping when it fires

Re: Using return in a command script

2016-10-26 Thread Monte Goulding
OK, just to make sure I understand you I’ll summarise in code: on openCard go card “database setup” if the result is false then — database setup failed end if end openCard — database setup card script on openCard — do stuff return stuffFailed end openCard If ^ is what you

Re: Using return in a command script

2016-10-26 Thread Bob Sneidar
I'll try to enumerate the process. I have an openStack handler in the card script of the mainstack. In this handler I initialize the app. First I insert my validations, utilities and front scripts into the message hierarchy. Then I attempt to register sqlyoga. If that succeeds, I go to a card

Re: override HTTPS certificate failure

2016-10-26 Thread Charles Warwick
On 27/10/2016 1:16 AM, Peter TB Brett wrote: On 26/10/2016 15:42, Trevor DeVore wrote: Perhaps, but for testing purposes we don’t really care about implementing them :-) Here is my question for you - are you arguing that LiveCode (a You probably should care about implementing them. I can

8.1.1 compile not working correctly

2016-10-26 Thread Bob Sneidar
Hi all. When I compile a standalone in 8.0.1, the splash stack closes almost immediately, and apart from a message that it could not find the valentina database plugins (which I do not use anyway) all is well. When I compile in 8.1.1 however, it takes a REALLY long time for my splash stack

Re: How do I codesign an App?

2016-10-26 Thread William Prothero
Thanks, Jacqueline: All of the comments I got so far are very helpful. Best, Bill > On Oct 26, 2016, at 12:24 PM, J. Landman Gay wrote: > > I've been code-signing third-party Mac and Windows apps for about two years. > Or rather, my client has, but I helped set it up.

Re: Using return in a command script

2016-10-26 Thread Monte Goulding
> On 27 Oct. 2016, at 9:07 am, Bob Sneidar wrote: > > I return a value at the end of an openCard handler What are you returning it to? openCard is sent by the engine… or are you calling it yourself? ___ use-livecode

Re: not so much a bug, but a needed workaround

2016-10-26 Thread J. Landman Gay
On 10/26/16 2:39 PM, Dr. Hawkins wrote: I got the bright idea to set a front script so that the mouse scripts would be intercepted and ignored in the original stacks, as I was tired of dodging those fields. It worked, right until I was single-stepping through a script. At which point,, moving

Re: sluggishness of 8.1.1 on send in 0/wait 0 pairs?

2016-10-26 Thread Dr. Hawkins
On Wed, Oct 26, 2016 at 1:36 AM, Peter TB Brett wrote: > > 1, 3, 5, 7, 2, 6, 4 > > This _could_ account for the behaviour that Richard is reporting. I know > that it is fixed in the development branch [1]. At the moment, while I single step through a script, I notice

Re: Using return in a command script

2016-10-26 Thread Bob Sneidar
Oic. Well a global will definitely work. I seem to remember that native handlers like opencard/openstack automatically set the result to empty when they end successfully, which is likely my problem. I return a value at the end of an openCard handler and the handler immediately sets it to empty

Re: Using return in a command script

2016-10-26 Thread Mike Kerner
This is for testing and debugging it, Bob. I'm not proposing that you leave it as a global. On Wed, Oct 26, 2016 at 4:56 PM, Bob Sneidar wrote: > Globals are fine if you only have one project open at a time. Otherwise > you have to be careful to name all your

Re: Using return in a command script

2016-10-26 Thread dunbarx
The result is more ephemeral than "it". Do not rely on such a thing for very long, especially if you are doing stuff like changing cards and running handlers. The result may have been modified dozens of times along the way. Craig -Original Message- From: Bob Sneidar

Re: Problems with LC 9.0.0 (dp 1)

2016-10-26 Thread Richard Gaskin
Henry wrote: > The missing images issue has been resolved. Looks like LC requires > relative file paths to image files used within mobile apps. When I > use the IDE to set the source file of an image object, LC stores the > absolute path to the image on disk: > > e.g.

Re: Problems with LC 9.0.0 (dp 1)

2016-10-26 Thread hlowe
The missing images issue has been resolved. Looks like LC requires relative file paths to image files used within mobile apps. When I use the IDE to set the source file of an image object, LC stores the absolute path to the image on disk: e.g. /Users/username/Documents/Livecode/LC

not so much a bug, but a needed workaround

2016-10-26 Thread Dr. Hawkins
I think what I need is to have front scripts ignored when in an IDE window, but I'm not quite sure. I have a number of places in my interface where mouseOver is used to pop up a stack or group, and mouseMove to determine if it's been left. These scripts use custom properties of the stacks, which

Re: Using return in a command script

2016-10-26 Thread mwieder
Works here in 8.1.1. on mouseUp grunt put the result after msg end mouseUp on grunt return false end grunt - -- Mark Wieder ahsoftw...@gmail.com -- View this message in context:

Re: Using return in a command script

2016-10-26 Thread Phil Davis
Never mind. I just created a test stack in 8.1.1 where the calling handler always received 'false' from the 'doIt' command. I tried making 'doIt' return: false "false" (x = 0) -- after adding 1 to x They all worked! Maybe something else is interfering with your outcomes? Phil On 10/26/16

Re: Using return in a command script

2016-10-26 Thread Mike Kerner
well, in 8.1.1, anyway, *on* mouseUp b *answer* the result *end* mouseUp *on* b *return* false *end* b answers "false" On Wed, Oct 26, 2016 at 3:57 PM, Phil Davis wrote: > What happens if you return "false" instead of false? Still broken? > Phil Davis > > > > On 10/26/16

Re: How do I codesign an App?

2016-10-26 Thread Graham Samuel
Sorry if I gave the impression that I wanted to exclude any deployment options from the Community version: rather, I wanted to make sure that they would work with all three - Indy is only “Commercial for the smaller enterprise” in that it allows encrypted stacks, isn’t that right? So yes, we

Re: Using return in a command script

2016-10-26 Thread Bob Sneidar
Globals are fine if you only have one project open at a time. Otherwise you have to be careful to name all your globals to be specific to the stack which created them. As I said, I am using properties to store persistent values these days. This way I can make portable cards or stacks I can add

Handy Script for rearranging menu buttons

2016-10-26 Thread Bob Sneidar
Some have indicated they like to have a development menu in their projects that they remove when compiling to standalone. A better way is to simply hide the development menu then call this handler: on arrangeMenus tMenu -- rearranges the menus based upon their order ignoring invisible menu

Re: Using return in a command script

2016-10-26 Thread Bob Sneidar
Very odd. Doesn't matter if I enclose in quotes I get the same result, only now I am seeing that if I call the handler that returns the value from the message box it works fine! So here's what I am trying to do. When I open a stack for the first time, I go to a Database Setup card. This card

Re: Using return in a command script

2016-10-26 Thread Mike Kerner
just for the heck of it change the variable to a global so you can track it inside and out of the handler, and see what happens. On Wed, Oct 26, 2016 at 4:30 PM, Bob Sneidar wrote: > Very odd. Doesn't matter if I enclose in quotes I get the same result, > only now I

Re: Using return in a command script

2016-10-26 Thread Phil Davis
What happens if you return "false" instead of false? Still broken? Phil Davis On 10/26/16 12:45 PM, Bob Sneidar wrote: I'm using version 8.1.1 (I don't distribute apps compiled with a dev preview). I return false and immediately in the calling script check for the result. It is empty. Bob S

Re: How do I codesign an App?

2016-10-26 Thread J. Landman Gay
I've been code-signing third-party Mac and Windows apps for about two years. Or rather, my client has, but I helped set it up. We use AppWrapper for Mac and the kSign utility provided by ksoftware.net along with their certificate. It has been a simple process once everything is set up. Build

Re: Using return in a command script

2016-10-26 Thread Richard Gaskin
Bob Sneidar wrote: >> On Oct 26, 2016, at 11:44 , Richard Gaskin wrote: >> >> dunbarx wrote: >>> Do you mean something like this does not work anymore??? >>> >>> Impossible. >>> >>> on mouseUp >>> doThis >>> answer the result >>> end mouseUp >>> >>> on doThis >>> return random(999) >>> end

Re: Using return in a command script

2016-10-26 Thread Bob Sneidar
I'm using version 8.1.1 (I don't distribute apps compiled with a dev preview). I return false and immediately in the calling script check for the result. It is empty. Bob S > On Oct 26, 2016, at 11:44 , Richard Gaskin wrote: > > dunbarx wrote: >> Do you mean

Re: Regular Expressions in IDE

2016-10-26 Thread Peter Haworth
Try Thierry Douez's Regex library. On Wed, Oct 26, 2016 at 10:38 AM Dr. Hawkins wrote: > On Wed, Oct 26, 2016 at 9:39 AM, Peter Reid wrote: > > > Does anyone know where I can get guidance notes for the regular > expression > > find & replace in the IDE

Re: Using return in a command script

2016-10-26 Thread Mike Kerner
Are you using return for value and return for error? return x for value return x for error On Wed, Oct 26, 2016 at 2:44 PM, Richard Gaskin wrote: > dunbarx wrote: > >> Do you mean something like this does not work anymore??? >> >> Impossible. >> >> on mouseUp >>

Re: How do I codesign an App?

2016-10-26 Thread J. Landman Gay
On 10/26/16 1:40 PM, William Prothero wrote: I tried it using different certificate names, but basically the response was the same. I got the response below: chmod -R u+rw "/Users/prothero/Desktop/Plate Tectonics Explorer-V8/Plate Tectonics Explorer-V8/Plate Tectonics Explorer-V8.app" xattr

Re: Fade In and Out on Mobile

2016-10-26 Thread J. Landman Gay
On 10/26/16 1:38 PM, Sannyasin Brahmanathaswami wrote: We have something that "kinda" works in LC on the desktop -- dissolve -- though I have to see anything as smooth as we can get if you run fades in webkit with JS or just have them in a video. But apparently we have no cross platform option

Re: How do I codesign an App?

2016-10-26 Thread William Prothero
Trevor: By the way, I have a bunch of certificates. A link to my keychain window is: https://www.dropbox.com/s/hlfa9tqtfrm7tyw/KeyChainCertWindow.png?dl=0 I tried “William Prothero” as the certificate identifier. I wonder if

Re: Using return in a command script

2016-10-26 Thread Richard Gaskin
dunbarx wrote: Do you mean something like this does not work anymore??? Impossible. on mouseUp doThis answer the result end mouseUp on doThis return random(999) end doThis Works here as of v9.0 dp 1. -- Richard Gaskin Fourth World Systems Software Design and Development for the

Re: How do I codesign an App?

2016-10-26 Thread William Prothero
Trevor: I tried your codesigning livecode app. First I signed it with App Wrapper3, to make sure I had a good certificate. Then I tried it with your stack, using the same certificate: I tried it using different certificate names, but basically the response was the same. I got the response

Re: Using return in a command script

2016-10-26 Thread dunbarx
Bob. Do you mean something like this does not work anymore??? Impossible. on mouseUp doThis answer the result end mouseUp on doThis return random(999) end doThis -- View this message in context:

Fade In and Out on Mobile

2016-10-26 Thread Sannyasin Brahmanathaswami
This is a both a plea to the universe and hope that there are solutions already that I have not discovered. Fading in and out is probably the number one most request effect our design team wants to see in the process of creating opening motion + title graphics on video. it's also the thing you

Using return in a command script

2016-10-26 Thread Bob Sneidar
I could have sworn that issueing return and a value sets the result to that value. This is no longer the case. I can work around it, but I've been hours troubleshooting only to discover I'm not passing values in comaands. Bob S ___ use-livecode

Re: Regular Expressions in IDE

2016-10-26 Thread dunbarx
Simply wait til Mr. Thierry sees this. Does he follow this list? If not, post to the forum. Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Regular-Expressions-in-IDE-tp4709804p4709806.html Sent from the Revolution - User mailing list archive at

Re: Regular Expressions in IDE

2016-10-26 Thread Dr. Hawkins
On Wed, Oct 26, 2016 at 9:39 AM, Peter Reid wrote: > Does anyone know where I can get guidance notes for the regular expression > find & replace in the IDE script editor. In particular, what is the syntax > for using remembered groups in the replacement string. There is

Regular Expressions in IDE

2016-10-26 Thread Peter Reid
Hi Does anyone know where I can get guidance notes for the regular expression find & replace in the IDE script editor. In particular, what is the syntax for using remembered groups in the replacement string. For example, I was trying the following: Find: "([a-zA-Z]+)_([a-zA-z]+)"

Re: override HTTPS certificate failure

2016-10-26 Thread Bob Sneidar
I'll check that out. I'm uncertain how I could get a server to request a new cert every 90 days, and I'm sure I cannot get a copier to do it. Otherwise it soulds like I can use it for certain things here. Bob S On Oct 26, 2016, at 09:26 , Richard Gaskin

Re: override HTTPS certificate failure

2016-10-26 Thread Richard Gaskin
Bob Sneidar wrote: > On Oct 26, 2016, at 08:16 , Peter TB Brett livecode.com> wrote: > >> I believe that it's a really really bad idea to download completely >> unverified certificates and permanently add them to the list of certs >> that your app trusts

Re: [TI] Gnome-Commander

2016-10-26 Thread Richmond
https://en.wikipedia.org/wiki/Gnomeo_%26_Juliet On 26.10.2016 18:10, Dr. Hawkins wrote: On Wed, Oct 26, 2016 at 6:09 AM, Richmond wrote: Just to say that I have just installed *Gnome-Commander* on my main Xubuntu box: and, suddenly, everything seems a whole lot

Re: sluggishness of 8.1.1 on send in 0/wait 0 pairs?

2016-10-26 Thread Bob Sneidar
THAT is news to me. I thot the queue would clear. Good to know. Bob S On Oct 25, 2016, at 22:51 , Monte Goulding > wrote: So if you had two messages in the queue scheduled for exactly the same time and only did a wait 0 with messages then only one

Re: override HTTPS certificate failure

2016-10-26 Thread Bob Sneidar
By unverified, do you mean self-signed as well? Too many devices and servers use self-signed certs to exclude them. The whole point to self signed certs is so that the world is not forced to purchase a cert from an authority for every single device in order to be relatively secure. For devices

Re: override HTTPS certificate failure

2016-10-26 Thread Trevor DeVore
On Wed, Oct 26, 2016 at 10:16 AM, Peter TB Brett wrote: > > > On 26/10/2016 15:42, Trevor DeVore wrote: >> >> >> Perhaps, but for testing purposes we don’t really care about implementing >> them :-) Here is my question for you - are you arguing that LiveCode (a >> > >

Re: override HTTPS certificate failure

2016-10-26 Thread Peter TB Brett
On 26/10/2016 15:42, Trevor DeVore wrote: On Wed, Oct 26, 2016 at 9:21 AM, Peter TB Brett wrote: On 26/10/2016 14:42, Trevor DeVore wrote: Peter, I agree that in most cases you don’t want people bypassing these warnings. There are situations in software

Re: [TI] Gnome-Commander

2016-10-26 Thread Dr. Hawkins
On Wed, Oct 26, 2016 at 6:09 AM, Richmond wrote: > > Just to say that I have just installed *Gnome-Commander* on my main > Xubuntu box: > > and, suddenly, everything seems a whole lot easier. more importantly, will it work in my garden? followup product could be

Re: How do I codesign an App?

2016-10-26 Thread Richard Gaskin
William Prothero wrote: > Code signing is very frustrating and time-wasting. I second, third, > and fourth all recommendations to make the app deployment process > easier for both standalone systems and mobile. I disagree that it > should only be in the commercial version, though. Indy users >

Re: More unreproducible oddities in 8--text semi-lock of mousedown

2016-10-26 Thread Dr. Hawkins
On Wed, Oct 26, 2016 at 7:38 AM, Bob Sneidar wrote: > I have seen something similar where I cannot enter a field or click a > button. Switching out of the app and back seems to clear it. I thought it > was some code of mine, but it's so obscure and so easily

Re: How do I codesign an App?

2016-10-26 Thread Earthednet-wp
Code signing is very frustrating and time-wasting. I second, third, and fourth all recommendations to make the app deployment process easier for both standalone systems and mobile. I disagree that it should only be in the commercial version, though. Indy users distribute apps too. I'd chip in

Re: sluggishness of 8.1.1 on send in 0/wait 0 pairs?

2016-10-26 Thread Bob Sneidar
I always use dispatch unless I need to send in time. Bob S On Oct 25, 2016, at 15:31 , Mark Talluto > wrote: On Oct 25, 2016, at 10:18 AM, Richard Gaskin > wrote: Dr.

AW: How do I codesign an App?

2016-10-26 Thread Tiemo Hollmann TB
Well said -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Richard Gaskin Gesendet: Mittwoch, 26. Oktober 2016 16:25 An: use-livecode@lists.runrev.com Betreff: Re: How do I codesign an App? Paul Dupuis wrote: > Isn't code signing

Re: override HTTPS certificate failure

2016-10-26 Thread Trevor DeVore
On Wed, Oct 26, 2016 at 9:21 AM, Peter TB Brett wrote: > > > On 26/10/2016 14:42, Trevor DeVore wrote: >> >> Peter, >> >> I agree that in most cases you don’t want people bypassing these warnings. >> There are situations in software development where people testing

Re: More unreproducible oddities in 8--text semi-lock of mousedown

2016-10-26 Thread Bob Sneidar
I have seen something similar where I cannot enter a field or click a button. Switching out of the app and back seems to clear it. I thought it was some code of mine, but it's so obscure and so easily remedied, I didn't bother trying to track it down. Bob S > On Oct 25, 2016, at 15:24 , Dr.

Re: How do I codesign an App?

2016-10-26 Thread Matthias Rebbe
Like Trevor said, it is possible to codesign your Windows apps using a virtual machine. I am doing it with a Parallles VM. But please be aware that you cannot use your Apple developer certificate. You will need to purchase a separate Code Signing Certificate. You can get a very cheap one

Re: How do I codesign an App?

2016-10-26 Thread Richard Gaskin
Paul Dupuis wrote: > Isn't code signing platform specific? Meaning, don't you have to code > sign a OSX Standalone on OSX and code sign a Windows standalone on > Windows? > > I would eagerly second adding code signing to the IDE if it could be > done cross platform. I.e. if I develop under

Re: override HTTPS certificate failure

2016-10-26 Thread Peter TB Brett
On 26/10/2016 14:42, Trevor DeVore wrote: On Wed, Oct 26, 2016 at 2:01 AM, Peter TB Brett wrote: On 25/10/2016 20:41, Lyn Teyla wrote: 2. If the user elects to trust the certificate, save the certificate details received from the server during that first

Re: How do I codesign an App?

2016-10-26 Thread JB
Thanks for the info and link, Trevor. JB > On Oct 26, 2016, at 6:22 AM, Trevor DeVore wrote: > > On Wed, Oct 26, 2016 at 8:12 AM, Graham Samuel wrote: > >> >> I’m glad we’re both still here! Yes, that’s useful stuff, thank you very >> much. I

Re: How do I codesign an App?

2016-10-26 Thread Trevor DeVore
On Wed, Oct 26, 2016 at 8:46 AM, Graham Samuel wrote: > Just a quick question. I don’t have a real Windows machine in-house so I > do my Windows work via Parallels on a Mac - for beta testing I can use > other peoples’ physical PCs. As the whole certificate-obtaining process for

Re: How do I codesign an App?

2016-10-26 Thread Graham Samuel
Just a quick question. I don’t have a real Windows machine in-house so I do my Windows work via Parallels on a Mac - for beta testing I can use other peoples’ physical PCs. As the whole certificate-obtaining process for Windows has to be carried out on one identifiable Windows machine, would

Re: override HTTPS certificate failure

2016-10-26 Thread Trevor DeVore
On Wed, Oct 26, 2016 at 2:01 AM, Peter TB Brett wrote: > On 25/10/2016 20:41, Lyn Teyla wrote: > > 2. If the user elects to trust the certificate, save the certificate >> details received from the server during that first connection. >> > > You've forgotten an extremely

Re: How do I codesign an App?

2016-10-26 Thread Graham Samuel
Great, thanks. And I second Paul Dupuis’ plea to get this stuff woven into LC. All part of easing deployment (my continued obsession). Graham > On 26 Oct 2016, at 15:22, Trevor DeVore wrote: > > On Wed, Oct 26, 2016 at 8:12 AM, Graham Samuel wrote:

Re: How do I codesign an App?

2016-10-26 Thread Paul Dupuis
Isn't code signing platform specific? Meaning, don't you have to code sign a OSX Standalone on OSX and code sign a Windows standalone on Windows? I would eagerly second adding code signing to the IDE if it could be done cross platform. I.e. if I develop under Windows, I could sign the OSX and

Re: How do I codesign an App?

2016-10-26 Thread Trevor DeVore
On Wed, Oct 26, 2016 at 8:12 AM, Graham Samuel wrote: > > I’m glad we’re both still here! Yes, that’s useful stuff, thank you very > much. I will see if I can actually get a certificate or two and use > Trevor’s code to deploy it/them. If all that works, then I have to try to >

Re: How do I codesign an App?

2016-10-26 Thread Graham Samuel
Hi Thierry I’m glad we’re both still here! Yes, that’s useful stuff, thank you very much. I will see if I can actually get a certificate or two and use Trevor’s code to deploy it/them. If all that works, then I have to try to understand what the equivalent thing is on Windows. I note that the

[TI] Gnome-Commander

2016-10-26 Thread Richmond
*TI* = *Totally Irrelevant* [well, maybe not] Just to say that I have just installed *Gnome-Commander* on my main Xubuntu box: https://gcmd.github.io/ and, suddenly, everything seems a whole lot easier. Richmond. ___ use-livecode mailing list

Re: How do I codesign an App?

2016-10-26 Thread Trevor DeVore
On Tue, Oct 25, 2016 at 9:51 PM, William Prothero wrote: > Trevor: > Thanks a bunch! I haven’t played with the GLX App Framework, but I will > and use that code. This is something that really needs to be in the IDE. > Its SUCH a common thing to do and can be so

Re: How do I codesign an App?

2016-10-26 Thread Thierry Douez
2016-10-26 11:41 GMT+02:00 Graham Samuel : > Hmmm - I would like to start by understanding the why, what and where of > certificates… > > Graham > ​Hello Graham, was a long time :)

Re: How do I codesign an App?

2016-10-26 Thread Graham Samuel
Hmmm - I would like to start by understanding the why, what and where of certificates… Graham > On 26 Oct 2016, at 11:20, Tiemo Hollmann TB wrote: > > Hi Bill, > > the security message is just the new default setting since 10.10 or so. Your > user can download, install

AW: How do I codesign an App?

2016-10-26 Thread Tiemo Hollmann TB
Hi Bill, the security message is just the new default setting since 10.10 or so. Your user can download, install and run your app, even if it is not signed, he only has to change the security setting in his system settings once for installing your app or in general. If you want to sign your

Re: How do I codesign an App?

2016-10-26 Thread Graham Samuel
I really believe that it would boost LC in the marketplace if it could offer comprehensive and up-to-date advice about deployment. Software design and coding is one thing (and for me, LC is pretty much the ideal platform for it - anyone can code!) but it is of very limited use if one can’t

Re: sluggishness of 8.1.1 on send in 0/wait 0 pairs?

2016-10-26 Thread Peter TB Brett
On 25/10/2016 21:30, Monte Goulding wrote: On 26 Oct. 2016, at 6:55 am, Dr. Hawkins wrote: *unless* there is an opportunity to execute it, such as (exclusively?) "Wait with messages", at which point the message due is supposed to be checked. send in time is supposed to

Re: override HTTPS certificate failure

2016-10-26 Thread Peter TB Brett
On 25/10/2016 20:41, Lyn Teyla wrote: 2. If the user elects to trust the certificate, save the certificate details received from the server during that first connection. You've forgotten an extremely important step: train the user to be able to distinguish a valid-but-not-trusted certificate