From 39d0f37378ff336978533bf62aad59872dc4a93a Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Tue, 5 Nov 2024 23:12:58 +0800 Subject: [PATCH] fixes tests --- prologue.nimble | 2 +- src/prologue/security/hasher.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/prologue.nimble b/prologue.nimble index 7a499fa58..401268a7f 100644 --- a/prologue.nimble +++ b/prologue.nimble @@ -8,7 +8,7 @@ srcDir = "src" # Dependencies -requires "nim >= 1.6.0" +requires "nim >= 2.0.0" requires "regex >= 0.20.0" requires "nimcrypto >= 0.5.4" requires "cookiejar >= 0.2.0" diff --git a/src/prologue/security/hasher.nim b/src/prologue/security/hasher.nim index 4e3557f1b..ded8e24a0 100644 --- a/src/prologue/security/hasher.nim +++ b/src/prologue/security/hasher.nim @@ -16,7 +16,7 @@ import std/[strformat, strutils] -import pkg/nimcrypto/pbkdf2 +import pkg/nimcrypto/[pbkdf2, sha, sha2] from ../core/types import SecretKey from ../core/encode import base64Encode