ajgb / crypt-nacl-sodium

Crypt::NaCl::Sodium - NaCl compatible modern, easy-to-use library for encryption, decryption, signatures, password hashing and more
https://metacpan.org/release/Crypt-NaCl-Sodium
9 stars 10 forks source link

Build against libsodium 1.0.18 #10

Open Hugmeir opened 4 years ago

Hugmeir commented 4 years ago

Tried building this against libsodium 1.0.18, and ran into a couple of issues:

  1. aes128ctr has been dropped
  2. hex2bin() behavior has changed fairly drastically
  3. compiler warnings

(pull request outgrew its original branch name :P)

Hugmeir commented 4 years ago

I'm not sure if this is tied to the libsodium version or to my box, but pwhash always immediately fails for me; the docs say that this is likely because it ran out of memory, but the processes usually don't allocate more than a couple of kbs, so this is unlikely to be the case.