Good afternoon,
Was pleasantly surprised to find the forums were back. I'm brand new here but have gotten offline tips from Garrett as well as Rick while the forums were down. Thank you very much guys.
I'm putting the finishing touches on an Illustrator plugin I'm writing, and that is implementing an OpenSSL signing and verifying process for the plugin. I had successfully completed this step but moved up to OpenSSL 3 because of deprecation and this is where my issue began and my question to the forum. Once I added calls to the external version of OpenSSL 3 to my project and rebuild, I was presented with a slew of "xx already defined" linking errors. Below are just a few.
libcrypto.lib(libcrypto-lib-m_sigver.obj) : error LNK2005: EVP_DigestVerifyInit already defined in hdi_core-win-ai16-rls-64.lib(m_sigver.obj)
libcrypto.lib(libcrypto-lib-m_sigver.obj) : error LNK2005: EVP_DigestVerifyFinal already defined in hdi_core-win-ai16-rls-64.lib(m_sigver.obj)
After realizing this, I rolled back my implementation of using the external OpenSSL in favor of what CORE may already have in place. However, I can only find a reference to anything crypto related in "hdicoreCrypt.h". My previously working implementation is as follows:
1. I use a webpage to allow a user to register the software (plugin). The webpage will forward them their "OpenSSL_Signed" licensing information.
2. They would copy and paste this information into the software (plugin) to which it is verified.
How can I get the verify step to either work with OpenSSL through CORE? Or can I get it to work using "hdicoreCrypt" or is there more in CORE? I was having trouble with "hdi::core::crypt::decryptWithPublicKey()" and my guess is because I couldn't figure out how to create the RSA public key which was used to sign.
Regards,
Marvin
Was pleasantly surprised to find the forums were back. I'm brand new here but have gotten offline tips from Garrett as well as Rick while the forums were down. Thank you very much guys.
I'm putting the finishing touches on an Illustrator plugin I'm writing, and that is implementing an OpenSSL signing and verifying process for the plugin. I had successfully completed this step but moved up to OpenSSL 3 because of deprecation and this is where my issue began and my question to the forum. Once I added calls to the external version of OpenSSL 3 to my project and rebuild, I was presented with a slew of "xx already defined" linking errors. Below are just a few.
libcrypto.lib(libcrypto-lib-m_sigver.obj) : error LNK2005: EVP_DigestVerifyInit already defined in hdi_core-win-ai16-rls-64.lib(m_sigver.obj)
libcrypto.lib(libcrypto-lib-m_sigver.obj) : error LNK2005: EVP_DigestVerifyFinal already defined in hdi_core-win-ai16-rls-64.lib(m_sigver.obj)
After realizing this, I rolled back my implementation of using the external OpenSSL in favor of what CORE may already have in place. However, I can only find a reference to anything crypto related in "hdicoreCrypt.h". My previously working implementation is as follows:
1. I use a webpage to allow a user to register the software (plugin). The webpage will forward them their "OpenSSL_Signed" licensing information.
2. They would copy and paste this information into the software (plugin) to which it is verified.
How can I get the verify step to either work with OpenSSL through CORE? Or can I get it to work using "hdicoreCrypt" or is there more in CORE? I was having trouble with "hdi::core::crypt::decryptWithPublicKey()" and my guess is because I couldn't figure out how to create the RSA public key which was used to sign.
Regards,
Marvin