USA and Canada: 866.253.7568   International: +1-501-313-0397
DidiSoft Ltd.

Archive for the 'Knowledge Base' Category

OraRSA 1.1 offering various SHA based signings

December 11th, 2015

DidiSoft OraRSA version 1.1 was released today. It offers to customize the digital signature algorithm in contrast to version 1.0 where only SHA1withRSA was available. How to use the new algorithms? In order to use the new algorithms, you must specify the algorithm needed as the last parameter of the ORA_RSA.SIGN and ORA_RSA.VERIFY methods. Available values […]

IdNotFoundException

November 17th, 2015

Executing procedures from the dbms_java Oracle PL/SQL package may result in a strange IdNotFoundException like: ORA-29532: Java call terminated by uncaught Java exception: oracle.aurora.vm.IdNotFoundException: user : user or role id does not exist This is very common when granting java.io.FilePermission: call dbms_java.grant_permission(‘user’, ‘java.io.FilePermission’, ‘C:/MyFolder/ora-pgp-1.1.0.jar’, ‘read’); If you experience such error try changing the user(schema) name to Uppercase.

OpenPGP Library for .NET 1.7.14 with Web of Trust

October 27th, 2015

DidiSoft OpenPGP Library for .NET 1.7.14 was released today offering extended support for OpenPGP Web of Trust. In previous versions of the library only setting own trust was available and plain signing of keys. With this new release keys status can be checked by Trust amount and Verified status. We can also sign public keys […]

OpenPGP Library for .NET in Mono

October 12th, 2015

DidiSoft OpenPGP Library for .NET can be used without any problems in Mono projects under Mac OSX and Linux. The library DLL files that you have to reference in your Mono project are the ones located in the root of the \Bin folder. A limitation for Mono developers is that they have to first install the library […]

Using a public key by mistake when decrypting

February 24th, 2015

A common scenario that we have evidenced in our technical support practice for DidiSoft OpenPGP Library for .NET is that some customers by mistake try to decrypt .pgp files with an OpenPGP public key. Although the exception was of class DidiSoft.Pgp.Exceptions.WrongPrivateKeyException,  the exception text so far wasn’t very helpful and it stated: “Decryption of data encrypted […]

Invoking OpenPGP Library for .NET from MS SQL Server

July 19th, 2014

In this article we are going to illustrate how to invoke DidiSoft OpenPGP Library for .NET from MS SQL Server (tm) stored procedures and T-SQL code. We also provide a dedicated set of Transact-SQL routines in the product MsSqlPGP. Note: This information applies to MS SQL Server 2005 and above. All the demonstrated code below should […]

premature end of stream in PartialInputStream

June 9th, 2014

The latest release of DidiSoft OpenPGP Library for .NET (1.7.9.14) and OpenPGP Library for Java (2.6.6.3) ship with bug fix for the error “premature end of stream in PartialInputStream“. The error “premature end of stream in PartialInputStream” may be observed when trying to decrypt .pgp data with wrong internal length indicators , usually when the encrypted content […]

PGP 2.x compatibility

February 21st, 2014

The early releases of the original PGP program from the 2.x version product line operate according to the RFC 1991 format. Unfortunately the current OpenPGP standard is not backward compatible with PGP 2.x software and if you need to exchange encrypted or signed and encrypted data with such systems you will have to take actions in […]

Using OpenPGP without unlimited JCE policy files

February 4th, 2014

NOTE: This article is Obsolete As of version 3.0 DidiSoft OpenPGP Library for Java doesn’t need the Unlimited JCE policy files in order to provide full OpenPGP cryptography support! The default setup of the Java virtual machine (either JDK or JRE) limits some of the ciphers to a certain key strength. The main reason for […]

Blowfish with maximum key length in OpenPGP

January 28th, 2014

The Blowfish symmetric encryption algorithm allows keys with sizes ranging from 32 bits up to 448 bits. We have received a question is it possible with our products to utilize the maximum key length of 448 bits. Unfortunately this is impossible because the OpenPGP standard (RFC 4880) has limited Blowfish keys to 128 bits. The […]