Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ease-dev] Sign and Verify Script

Hi Varun,


we are making good progress towards the sign script wizard. See my comments on the gerrit commit directly for some improvement ideas.


Regarding decorators we should add them to Script objects only. See my article on decorators to get an idea how to extend the ScriptExplorer view:
http://codeandme.blogspot.co.at/2013/01/a-closer-look-at-decorators.html
When changing the SWT tree component to support decorators, please do this by creating a separate bug & topic for it.


As you already know from the decorator how to verify scripts you may directly start to add the code to verify script content and to match it with preference settings before execution.

Christian


On 07/24/2016 10:31 PM, Varun Raval wrote:
Hi,

This week especially this weekend, I worked on UI implementation of dialog boxes to perform signature and to provide decorators.

Implementation of DialogBox to perform signature:
Procedure is in two parts.
  1. The first page is for normal user who is not knowing much about signatures and its providers. This user using first page, will use default settings of message digest algo, and provider of keystore and signature, to perform signature.
  2. Second page is for advanced users who can change settings as per their wish.

Gerrit Change: https://git.eclipse.org/r/#/c/76997/


Decorators:
For now, decorators will be added in every explorer view for files which contain signature. Is there a way to add decorators to Script Explorer? I have not been able to do same.

Decorators will tell whether one needs to update signature or not. Need for updating signature might arise when file has been changed. So, whenever decorators will be updated, signature of that file will be verified and appropriate decorator will be applied. This is little costly process to verify signature every time. Instead, we can check whether file has been changed since last applied signature. For that we need to keep watch on save operations. What is better thing to do?
My next task is to call verify methods before execution of remote scripts and notify user appropriately.

Thanks,
--
Varun Raval


_______________________________________________
ease-dev mailing list
ease-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ease-dev


Back to the top