International Phone: +1-256-907-7816
DidiSoft Ltd.

OpenPGP Library for .NET 1.7.15.2 offers 2048 bit DSA master signing keys

May 12th, 2016

DidiSoft OpenPGP Library for .NET version 1.7.15.2 was shipped today. It offers creation of 2048 bit DSA master signing keys in DH/DSS (ElGamal) key pairs and signing keys with non exportable (local) signatures.

2048 bit DSAmaster signing keys

By default the library will create a 1024 bit DSA master signing key when generating a DH/DSS (ElGamal) key pair. In order to force the new functionality offering a 2048 bit DSA master key a special property Force2048bitDSA of the KeyStore class must be set:

1
2
3
KeyStore ks = new KeyStore();
ks.Force2048bitDSA = true;
// now newly generated ElGamal keys will have a 2048 bit master signing key

Signing public keys with non exportable signature

If you need to sign public keys just for your own needs, then an overloaded version of the KeyStore.SignPublicKey method offers this functionality through its last parameter which indicates the signature exportability:

C# example

// ks is of type DidiSoft.Pgp.KeyStore
bool exportable = false;
ks.SignPublicKey("ceo@company.com", "my key user id", "my password", exportable);

VB.NET example

' ks is of type DidiSoft.Pgp.KeyStore
Dim exportable As Boolean = False
ks.SignPublicKey("ceo@company.com", "my key user id", "my password", exportable)

Fix in Web of Trust

When adding a new User Id to an Ultimately trusted key, the trust was lost due to a bug in the library. This has been fixed and the trust value will be preserved.

For a complete list of changes in this release, please check the release notes.