Skip to content
  • 0 Votes
    6 Posts
    2k Views
    PhoenoxP

    @dheerendra said in Encrypt/decrypt data with QCA:

    Your idea was to encrypt using RSA public key and decrypt using the private key. If this is the case what you are doing correct. Just that you read the keys from key.pem.

    Yes, that's what I want to do.
    So I guess this is solved. Thank you very much for your help!

  • 0 Votes
    7 Posts
    3k Views
    M

    @VRonin said in QCA no Makefile:

    also, if you are using MSVC you have to tell cmake to generate makefiles instead of project files. Pass the -G "NMake Makefiles" arguments to your cmake call

    You sir, have saved me. I can't believe they don't specify that in the guide (it also uses MSVC, so idk why there wasn't the same problem).

    I've run into some trouble while building, but that can/should be its own topic.

    @VRonin said in QCA no Makefile:

    Slightly related, is QCA supported and updated? The last thing you'd want is to use an out of date cryptographic library.

    I normally use Crypto++ but libcrypto of OpenSSL is also very good (if you don't mind messing with C)

    It is still active, looking at the the git (https://cgit.kde.org/qca.git/) the last commit was in 2017-09-30 (some months ago, but it isn't dead).
    I had also been looking at Crypto++, but ended up settleing for QCA for no pacticular reasons. And I wouldn't mess with C, I'm still even just a C++ newbie afterall ;) QCA can also use OpenSSL btw.

  • 0 Votes
    1 Posts
    535 Views
    No one has replied
  • 0 Votes
    2 Posts
    2k Views
    SGaistS

    Hi,

    One fast way to build QCA with your Qt version is to build QCA using Qt Creator, you'll have everything setup correctly.

    If you want the features using OpenSSL you also need to install OpenSSL first.

    Hope it helps

  • 0 Votes
    1 Posts
    899 Views
    No one has replied
  • 0 Votes
    2 Posts
    1k Views
    S

    Ok, I found the problem. I need to rebuild QCA library.