The GSA Document Signing Tools developed for government to use
Switch branches/tags
Nothing to show
Clone or download
Latest commit 6780d06 Jan 17, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
apple Updated README Apr 12, 2016
microsoft Updated README Apr 12, 2016
.codeinventory.yml add code inventory metadata Nov 23, 2016
CONTRIBUTING.md Added license and contributing; updated readme Mar 28, 2016
LICENSE.md Added license and contributing; updated readme Mar 28, 2016
README.md Update README.md Jan 17, 2018

README.md

Description

This repository contains the General Services Administration (GSA) Document Signing tools used for digitally signing documents and files with Personal Identity Verification (PIV) credentials.

The main purpose of the tool is for Federal agencies to use for digitally signing documents to be submitted to the Office of the Federal Register's (OFR) document submission web portal. The tool was developed using Java 8. It relies on Bouncy Castle libraries for the signing operations, Apache Commons for file operations, and OpenSC for PIV operations.

How does it work?

The GSA Document Signing Tool includes a simple, 508-compliant Graphical User Interface (GUI) to assist in the signing of your desired document. The tool allows the user to select the desired file they'd like signed, a field to enter the user's PIV application PIN, and a "Sign" button to initiate the signing. The tool automatically detects any smart card readers and PIV cards connected to the system. The tool utilizes PKCS#11 to interact with the reader and PIV card. The signed file is formatted in an enveloped PKCS#7 (.p7m) file, which is the required format for the OFR's document submission portal. In order for the tool to sign correctly, the PIV card MUST contain a valid digital signing certificate (i.e. Key usage of Digital Signature and Non-repudiation). If it doesn't contain a valid digital signing certificate, the application will provide a descriptive error messages.

Installation/Usage Instructions

The GSA Document Signing Tool includes a Windows 32-bit, 64-bit, and MacOS version. Verify your system's operating system before installing.

The installation files (executables) can be found under Releases.

Use the following User Guides below for guiding you through the installation process:

Developer Install Instructions

For developers, the source code, 3rd party libraries, and drivers can be imported into a Java IDE (i.e. Eclipse, NetBeans).

NOTE: This tool will only compile correctly using Java 8. Lower Java versions are not compatible with the development of this tool.

Initial setup:

  • Import initial source code in the "/src" directory to your Java IDE project source code directory.
  • Add the specific OpenSC driver for the system type you will be developing for (i.e. if you are developing on a 64-bit system, copy the opensc driver in the 64-bit directory, and paste the driver in the "lib" directory with the Bouncy Castle libraries.
  • Import "lib" directory to your Java IDE project.
  • Use the "GUI" class, as your main executable class for executing the tool.

Dependencies

The GSA Document Signing Tool leverages 3rd party libraries including:

The tool has not been tested with alternate versions of Java such as OpenJDK. Contributors are welcome to determine compatibility and update this README and dependencies appropriately.

On Windows, the installer was built using [inno setup] http://www.jrsoftware.org/

License

This project is in the public domain within the United States.

We waive copyright and related rights in the work worldwide through the CC0 1.0 Universal public domain dedication.

Please review the License found in this repository.

Contact Information

For issues, please open an Issue in this repository. Contact icam at gsa.gov for any additional questions on contributing.