remote directory/partition

2011-10-22 Thread Hetz Ben Hamo
Hi, Here is a theoretical question: Lets say I have a Linux server in Israel, and I have a block of storage (lets say iSCSI partition for this example) in USA, and I want to mount it on my server in Israel. iSCSI over such a long distance and with big latency (thanks to our ISP's) is a big no

[YBA] sign a jar without Java?

2011-10-22 Thread Jonathan Ben Avraham
Dear Linux-IL colleagues, Anyone know how to create a signature for a jarfile manifest using OpenSSL (or anything other than Java security tools) that Jarsigner will verify? Shavua tov, - yba -- EE 77 7F 30 4A 64 2E C5 83 5F E7 49 A6 82 29 BA~. .~ Tk Open Systems

Re: remote directory/partition

2011-10-22 Thread Jonathan Ben Avraham
Hi Hetz, Unless one side of the pond is read-only there will be problems with any solution due to the latency. I suggest that you create a local copy of the data and use inotify-tools to trigger rsync. See example on https://github.com/rvoicilas/inotify-tools/wiki/ Shavua tov, - yba On

Re: [YBA] sign a jar without Java?

2011-10-22 Thread Shachar Shemesh
On 10/22/2011 11:15 PM, Jonathan Ben Avraham wrote: Dear Linux-IL colleagues, Anyone know how to create a signature for a jarfile manifest using OpenSSL (or anything other than Java security tools) that Jarsigner will verify? Shavua tov, - yba Not only do I NOT know how to do that, I

Re: [YBA] sign a jar without Java?

2011-10-22 Thread Jonathan Ben Avraham
Hi Shachar, So far I have managed to write a C program using libarchive and the OpenSSL libcrypto API that creates a jarfile with the exact same manifest and .SF as jarfile does - I can reproduce the exact same MD5 or SHA1 hashes. I made my own CA and signed the JETTY.SF file but jarsigner