poco icon indicating copy to clipboard operation
poco copied to clipboard

can not run Crypto sample code

Open edidadaoutlook opened this issue 1 year ago • 5 comments

can not run Crypto sample code

https://github.com/pocoproject/poco/blob/main/Crypto/samples/genrsakey/src/genrsakey.cpp

error: libc++abi: terminating with uncaught exception of type Poco::Crypto::CryptoException: Crypto Exception

edidadaoutlook avatar Aug 17 '24 07:08 edidadaoutlook

@matejk I can reproduce this, apparently something on destruction because files are produced ok

aleks-f avatar Aug 18 '24 11:08 aleks-f

Which OS?

matejk avatar Aug 18 '24 12:08 matejk

@aleks-f , @edidadaoutlook On which OS is this problem reproducible?

Works properly on macOS (Apple Silicon), compiled with clang.

matejk avatar Aug 20 '24 16:08 matejk

@aleks-f , @edidadaoutlook On which OS is this problem reproducible?

Works properly on macOS (Apple Silicon), compiled with clang.

@matejk I was able to reproduce the problem on Linux/g++

aleks-f avatar Sep 10 '24 13:09 aleks-f

  • Ubuntu 24.04
  • openssl 3.0.13-0ubuntu3.4
  • g++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0
  • cmake version 3.28.3

Poco (current main (pre 1.14)) is built with CMake.

genrsakey -f new-key runs just fine in Debug and RelWithDebInfo.

@aleks-f, @edidadaoutlook: Can't reproduce. No exception is thrown. Do you have some more details how to reproduce the problem?

matejk avatar Sep 12 '24 09:09 matejk

This issue was closed because it has been inactive for 60 days since being marked as stale.

github-actions[bot] avatar Dec 26 '24 02:12 github-actions[bot]