https://techglimpse.com For all your Tech Needs! Wed, 29 Sep 2021 09:53:06 +0000 en-US hourly 1 https://wordpress.org/?v=5.4.6 Illegal block size exception – CKR_ENCRYPTED_DATA_LEN_RANGE [SoftHSM] https://techglimpse.com/illegal-block-size-exception-ckr_encrypted_data_len_range/ https://techglimpse.com/illegal-block-size-exception-ckr_encrypted_data_len_range/#respond Wed, 29 Sep 2021 09:48:37 +0000 https://techglimpse.com/?post_type=ht_kb&p=42460 I have installed and configured SoftHSM successfully on CentOS. In order to check if I can communicate with SoftHSM programmatically, I wrote a Java program that interacts with the soft token and performs encryption and decryption of an input string.  However, the program was able to encrypt the input successfully...

The post Illegal block size exception – CKR_ENCRYPTED_DATA_LEN_RANGE [SoftHSM] appeared first on Techglimpse.

]]>
0
Install SoftHSM and Access it via Java Program https://techglimpse.com/install-softhsm-source-compilation/ https://techglimpse.com/install-softhsm-source-compilation/#respond Tue, 28 Sep 2021 11:25:24 +0000 https://techglimpse.com/?post_type=ht_kb&p=42433 SoftHSM is a software implementation of HSM (Hardware Security Module) aims to perform all the functions that a proper HSM would perform without providing the hardware security protections afforded by a real HSM. If you are a user who is not willing to invest in a new hardware device, then...

The post Install SoftHSM and Access it via Java Program appeared first on Techglimpse.

]]>
0
[Solved]: OpenSSL library has no GOST support https://techglimpse.com/solved-openssl-library-has-no-gost-support/ https://techglimpse.com/solved-openssl-library-has-no-gost-support/#respond Fri, 24 Sep 2021 14:29:46 +0000 https://techglimpse.com/?post_type=ht_kb&p=42424 I’m trying to install SoftHSM on CentOS 7. SoftHSM depends on a cryptographic library such as Botan (min required version 1.10.0) or OpenSSL (min required version 1.0.0). I have  OpenSSL version 1.1.1 and during configuration encountered no GOST support. Below is the error message: checking for OpenSSL GOST support... Cannot...

The post [Solved]: OpenSSL library has no GOST support appeared first on Techglimpse.

]]>
0