jeroen / bcrypt

Wrapper for bcrypt in R
Other
18 stars 0 forks source link

Bcrypt functions and Openssl problem #5

Open CrisBMoya opened 4 years ago

CrisBMoya commented 4 years ago

Hi, I was reading this issue and @jeroen says that:

So this problem originates in the OpenSSL RNG? Do you also see it when calling this directly?

And suggest to run this line:

openssl::rand_bytes(16)

In the other issue, the users don't have a problem running that line of code, but I do. In essence, is the same problem, but in this case it seems to be an OpenSSL RNG problem. Is there a solution for this?

Also, the functions works perfectly if I reinstall the library when I start RStudio. But I would have to do that every time.

Thanks!

Here's my sessioninfo btw:

R version 3.6.1 (2019-07-05)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18362)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] bcrypt_1.1

loaded via a namespace (and not attached):
[1] compiler_3.6.1 tools_3.6.1    openssl_1.4.1  askpass_1.1