Copy link to clipboard
Copied
I have a major problem with panel signing.
I have a panel with 2 tabs.
Seemingly at random, after different amounts of time after installation, users get a "MyPanel extension could not be loaded because it was not properly signed".
The error can show up on any of the tabs. When the error is there, the other tab might still work as usual.
How am I signing:
1. Convert all jsx to jsxbin
2. Rename all jsxbin to jsx
3. Run
./ZXPSignCmd -sign build/cep dist/mypanel.zxp mypanel.p12 $password -tsa "http://sha256timestamp.ws.symantec.com/sha256/timestamp"
How I am installing:
- using ZXP Installer (zxpinstaller.com)
Will be glad for any ideas and tips
I think I was able to resolve my problem by:
1. Updating ZXPSign to the latest version
2. Getting rid of timestamp in signature
Copy link to clipboard
Copied
If the signing basically works. I.e. you don't get any error messages on signing and the extension works at first when the debugPlayer flag is set to 0, then probably one of these 3 are happening.
1) The Certificate has a problem like the number of days it was set to be valid for. Or for the country you did USA instead of US (or the other way round)
2) Something in the extension is causing a change to the contents of the extensions base directory.
3) An antivirus program is causing a change to the contents of the extensions base directory.
You could also try signing with a different timestamp, some are much less problematic than others.
See a list of options here. HTML Panel Tips #24: Fixing ZXP Timestamping errors | Photoshop, etc.
Copy link to clipboard
Copied
I think I was able to resolve my problem by:
1. Updating ZXPSign to the latest version
2. Getting rid of timestamp in signature
Copy link to clipboard
Copied
What do you mean by getting rid of the timestamp in the signature?
How did you set up the signature?
Copy link to clipboard
Copied
According to some posts I have found here, Adobe aren't sure themselves if `tsa` parameter is working properly for signatures.
There seem to be some issues with timestamp servers
Now I sign without tsa:
./ZXPSignCmd -sign build/cep dist/mypanel.zxp mypanel.p12 $password
Copy link to clipboard
Copied
Very interesting. I'll look into that, I wouldn't have thought that would work.
Keep us updated if you see a change (I.e. it stops working, which hopefully it won't)
There is big talk in the Adobe CEP team of dropping the whole need for signatures which are anyway almost completely meaningless.
Hopefully that could materialize with the next CEP
Copy link to clipboard
Copied
Hey Trevor.
Do you have any more updates or insights on the topic?
I just got one user complaining about the same signature problem even though I am already signing without -tsa paramater
Just thinking what else could I try to make sure signatures are working fine...
My users says that my html panel works fine when he works in the psd file, but when he opens a new psd file he gets this signature error.
Sounds weird
Copy link to clipboard
Copied
AverinAAA
The problem may not be the ZXPSignCmd
but the registry keys of windows and mac
Try this method
in windows, copy the text below and paste it into an empty text document
and rename it file.reg
then go to the file with the right button and select merge.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Adobe\CSXS.8]
"LogLevel"="1"
"PlayerDebugMode"="1"
[HKEY_CURRENT_USER\SOFTWARE\Adobe\CSXS.7]
"LogLevel"="1"
"PlayerDebugMode"="1"
[HKEY_CURRENT_USER\SOFTWARE\Adobe\CSXS.6]
"LogLevel"="1"
"PlayerDebugMode"="1"
[HKEY_CURRENT_USER\SOFTWARE\Adobe\CSXS.5]
"LogLevel"="1"
"PlayerDebugMode"="1"
[HKEY_CURRENT_USER\SOFTWARE\Adobe\CSXS.4]
"LogLevel"="1"
"PlayerDebugMode"="1"
On mac you have to create a key this way
open the terminal and type qiesto for photoshop cc2017
defaults write com.adobe.CSXS.7 PlayerDebugMode 1
for photoshop cc2018 type this
defaults write com.adobe.CSXS.8 PlayerDebugMode 1
and click on enter