<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>lekkimworld.comsigning</title>
    <link>http://lekkimworld.com/tags/signing/</link>
    <description>IBM Lotus Notes/Domino, Websphere, IBM Connections, mobile, web, JavaScript, Java...</description>
    <language>en</language>
    <copyright>Mikkel Flindt Heisterberg (mh [at] intravision [dot] dk</copyright>
    <pubDate>Sat, 19 May 2012 06:50:25 GMT</pubDate>
    <dc:creator>Mikkel Flindt Heisterberg (mh [at] intravision [dot] dk</dc:creator>
    <dc:date>2012-05-19T06:50:25Z</dc:date>
    <dc:language>en</dc:language>
    <dc:rights>Mikkel Flindt Heisterberg (mh [at] intravision [dot] dk</dc:rights>
    <image>
      <title>lekkimworld.comsigning</title>
      <url>http://lekkimworld.com/tags/signing/</url>
    </image>
    <item>
      <title>Creating a keystore for plugin signing the easy way</title>
      <link>http://lekkimworld.com/2012/03/09/creating_a_keystore_for_plugin_signing_the_easy_way.html</link>
      <content:encoded>&lt;p&gt;
Previously when creating keystores for plugin signing I've used a lot of dark magic, crying at the moon and a custom tool I wrote called &lt;a href="http://lekkimworld.com/keystoreutil"&gt;KeystoreUtil&lt;/a&gt; to convert between different formats. The other day I was doing a consulting gig on plugin signing and came up with an easier way just using iKeyman and the Java tooling. I created a presentation with the various commands and screenshots and put it on &lt;a href="http://slideshare.net/lekkim"&gt;Slideshare&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
Hope it will help someone.
&lt;/p&gt;
&lt;p align="center"&gt;
&lt;div style="width:425px" id="__ss_11917844"&gt; &lt;strong style="display:block;margin:12px 0 4px"&gt;&lt;a href="http://www.slideshare.net/lekkim/creating-a-keystore-for-plugin-signing-the-easy-way" title="Creating a keystore for plugin signing the easy way" target="_blank"&gt;Creating a keystore for plugin signing the easy way&lt;/a&gt;&lt;/strong&gt; &lt;iframe src="http://www.slideshare.net/slideshow/embed_code/11917844" width="425" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"&gt;&lt;/iframe&gt; &lt;div style="padding:5px 0 12px"&gt; View more &lt;a href="http://www.slideshare.net/thecroaker/death-by-powerpoint" target="_blank"&gt;PowerPoint&lt;/a&gt; from &lt;a href="http://www.slideshare.net/lekkim" target="_blank"&gt;lekkim&lt;/a&gt; &lt;/div&gt; &lt;/div&gt;
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/tags/ikeyman/">ikeyman</category>
      <category domain="http://lekkimworld.com/tags/jarsigner/">jarsigner</category>
      <category domain="http://lekkimworld.com/tags/keytool/">keytool</category>
      <category domain="http://lekkimworld.com/tags/plugins/">plugins</category>
      <category domain="http://lekkimworld.com/tags/signing/">signing</category>
      <pubDate>Fri, 09 Mar 2012 18:34:37 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2012-03-09:default/1331318077328</guid>
      <dc:date>2012-03-09T18:34:37Z</dc:date>
    </item>
    <item>
      <title>BAT-files (yup - you heard right!) to sign an entire update site</title>
      <link>http://lekkimworld.com/2010/04/20/bat_files_yup_you_heard_right_to_sign_an_entire_update_site.html</link>
      <content:encoded>&lt;p&gt;
Digitally signing an Eclipse update after the fact (i.e. it's not part of the build) can be tedious and time consuming. To make the process easier I wrote two small BAT-files that does the recursive signing of all plugin and feature JAR-files for you. Just stick the two BAT-files (signall.bat and dosign.bat) in the root Eclipse update site directory (together with site.xml) and invoke signall.bat.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Syntax&lt;/strong&gt;&lt;br/&gt;
signall.bat &amp;lt;keystore path&amp;gt; &amp;lt;keystore password&amp;gt; &amp;lt;certificate alias from keystore&amp;gt;
&lt;/p&gt;
&lt;p&gt;
&lt;i&gt;Example&lt;/i&gt;&lt;br/&gt;
signall.bat mykeystore changeit signer_key
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;signall.bat&lt;/strong&gt;
&lt;pre&gt;
@echo off
set jdkhome=%JAVA_HOME%
for /f %%a IN ('dir /b /s *.jar') do call dosign.bat %1 %2 %3 %%a
set jdkhome=
&lt;/pre&gt;
&lt;strong&gt;dosign.bat&lt;/strong&gt;
&lt;pre&gt;
@echo off
echo Signing: %4
%jdkhome%\bin\jarsigner.exe -keystore %1 -storepass %2 %4 %3
&lt;/pre&gt;
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/tags/eclipse/">eclipse</category>
      <category domain="http://lekkimworld.com/tags/feature/">feature</category>
      <category domain="http://lekkimworld.com/tags/jarsigner/">jarsigner</category>
      <category domain="http://lekkimworld.com/tags/keytool/">keytool</category>
      <category domain="http://lekkimworld.com/tags/plugin/">plugin</category>
      <category domain="http://lekkimworld.com/tags/signing/">signing</category>
      <pubDate>Tue, 20 Apr 2010 14:00:11 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2010-04-20:default/1271772011718</guid>
      <dc:date>2010-04-20T14:00:11Z</dc:date>
    </item>
    <item>
      <title>Signed demo plugin on OpenNTF</title>
      <link>http://lekkimworld.com/2009/11/11/signed_demo_plugin_on_openntf.html</link>
      <content:encoded>&lt;p&gt;
Today Niklas Heidloff &lt;a href="http://twitter.com/openntf/status/5594813074"&gt;tweeted&lt;/a&gt; about a new demo Java extension that have been published on OpenNTF. Besides being a very nice demo example it also has another noticeable difference from all other Java extensions that have been published so far. The difference is small although very important. The difference is that it's digitally signed!
&lt;/p&gt;
&lt;p&gt;
When installing Java extensions in Notes you have probably grown used to the "Are you really, really, really, really sure you want to install this unsigned Java extension in your Notes client"-prompt. Without thinking you probably click "Yes" out of habit which is why you may not remember the prompt. If you install this Java extension you wont see this prompt because it's signed by a certificate you trust (it's an IBM certificate).
&lt;/p&gt;
&lt;p&gt;
Using jarsigner -verify -verbose -certs on the feature will yield something like this:
&lt;pre&gt;
[entry was signed on 01-11-09 04:05]
X.509, CN=International Business Machines Corporation, 
OU=Lotus Software Group, OU=Digital ID Class 3 - Java 
Object Signing, O=International Business Machines 
Corporation, L=Westford, ST=Massachusetts, C=US
&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;
The difference is small but very important. You did notice it didn't prompt you right?
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/categories/java/">Java</category>
      <category domain="http://lekkimworld.com/tags/java/">java</category>
      <category domain="http://lekkimworld.com/tags/signing/">signing</category>
      <pubDate>Wed, 11 Nov 2009 09:34:53 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2009-11-11:default/1257932093125</guid>
      <dc:date>2009-11-11T09:34:53Z</dc:date>
    </item>
  </channel>
</rss>


