New version 2.0!
Download on Sourceforge. Sourcecode is available on Sourceforge
or Github (git).
From now on, PortableSigner is under EUPL license.
possible to sign restricted PDF documents.
At the moment the password option for the restriction is only available on the command line.
First steps towards a clean Linux installation:
There's an install script (sorry, not a real packet for now)
Under Linux, the following Java Packages should be installed (Reference for me is Ubuntu 9.04):
There's a shell commandline wrapper
At least under Gnome there's a menu shortcut.
PortableSigner.jar is usable as library in Java (thanks to Denis Torresan)
PortableSigner is a signing (with X.509 certificates) program for PDF files. It's plattform independent and runs (tested) under Windows (2000, XP, ...), Linux and Mac OS X.
It's possible to sign PDF documents digital with X.509 certificates. This signed documents are read only. Therefore it's possible to implement "electronic paper"
Some publications are mentioning PortableSigner:
Unverwechselbare Dokumente erstellen mit dem PortableSigner (openPR.de - Verlag deutsche Wirtschaft) [german]
RubyPDFBlog is mentioning PortableSigner. [english]
"Signieren von PDF-Dokumenten mit Portablesigner" von Florian Effenberg im Linux Magazin [german]
Java 1.6 or 1.7 compatible runtime
one PKCS#12 file with your personal digital X.509 certificate (from CAcert for example)
PDF files to sign
PortableSigner can work in 2 modes:
GUI Desktop Modus : Graphical frontend to sign single documents.
Commandline Modus : Operation from the commandline for batch or operatorless work
If you have a Java 1.7 compatible runtime, unpack the ZIP file and doubleclick or invoke the following commandline from the extracted directory:
java -jar PortableSigner.jar
Now you see something like this:
The operation on base of this screen is straightforward:
Select your inputfile (the last used file is preselected).
Select an outputfile.
Select your PKCS#12 file (I will support other type of files and keystores later. Look in the ToDo)
It is possible to attach a signature block as last page of the document.
The password of your PKCS#12 file.
Press the "Sign" Button
Is the Checkbox for "Append signature block" checked, there's an additional page on the output document with the following block:
Here's the option screen:
Here's the "About ..." dialog. please include the version info in every request to me!
You can use the following commandline parameter:
pfp$ java -jar PortableSigner.jar -h usage: PortableSigner -b <arg> Append signature block [german|english|polish] as parameter -c <arg> Comment under signature block (text) -f If this is set, the document is NOT finalized -h Help (this page) -i <arg> Image file for signature block -l <arg> Contents of "Location" - field (text) -n Without GUI -o <arg> Outputfile (PDF) -ownerpwd <arg> Owner password -ownerpwdfile <arg> Owner password file -p <arg> Signaturepassword -pwdfile <arg> Password file -r <arg> Contents of "Reason" - field (text) -s <arg> Signaturefile (P12 or PFX) -t <arg> Inputfile (PDF) pfp$
For the example above the following commandline is required:
pfp$ java -jar PortableSigner.jar -n \ -t /Users/pfp/Desktop/unsigned.pdf \ -o /Users/pfp/Desktop/signed.pdf \ -s /Users/pfp/Desktop/pfp.p12 \ -p MySecretPassword Document /Users/pfp/Desktop/signed.pdf is generated and signed! pfp$
The switch "-n" turns the GUI off. In all other cases the GUI is invoked to support macro mode calling!
The document has not to be finalized. With this option it is possible to sign multiple times. Only the last signer has to finalize the document.
The localization method for the signature block has been altered. So it's easier to add new languages (see Translation.txt).
There's the possibility to make an "intranet" build for easier deployment in intranets (see HowTo-InternalUse.txt).
The signature block is now in conformance with the Austrian e-government rules.
Peter Pfläging <firstname.lastname@example.org>
Thanks to all supporters with ideas, localizations and patches,