{ "name": "libsodium", "version": "1.0.22", "summary": "libsodium crypto library (Argon2 password hashes for Dovecot, keys for Rspamd)", "category": "library", "license": "ISC", "homepage": "https://libsodium.org/", "source": { "url": "https://download.libsodium.org/libsodium/releases/libsodium-1.0.22.tar.gz", "sha256": "adbdd8f16149e81ac6078a03aca6fc03b592b89ef7b5ed83841c086191be3349" }, "watch": {"kind": "index", "url": "https://download.libsodium.org/libsodium/releases/", "regex": "libsodium-([0-9]+(?:\\.[0-9]+)+[a-z]?[0-9]*)\\.tar\\.gz"}, "deps": [], "env_packages": [], "static": true, "nss": false, "check": "check_lib libsodium sodium.h 'char h[crypto_pwhash_STRBYTES]; if (sodium_init() < 0) return 1; if (crypto_pwhash_str(h, \"bvs\", 3, crypto_pwhash_OPSLIMIT_MIN, crypto_pwhash_MEMLIMIT_MIN)) return 2; printf(\"libsodium %s: %.9s verified %d\\n\", sodium_version_string(), h, crypto_pwhash_str_verify(h, \"bvs\", 3) == 0); return crypto_pwhash_str_verify(h, \"bvs\", 3) != 0 || crypto_pwhash_str_verify(h, \"bvX\", 3) == 0'" }