diff options
Diffstat (limited to 'server/helpers/peertube-crypto.ts')
-rw-r--r-- | server/helpers/peertube-crypto.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/peertube-crypto.ts b/server/helpers/peertube-crypto.ts index 66060bde2..44d90d9f1 100644 --- a/server/helpers/peertube-crypto.ts +++ b/server/helpers/peertube-crypto.ts | |||
@@ -12,7 +12,7 @@ const bcryptComparePromise = promisify2<any, string, boolean>(compare) | |||
12 | const bcryptGenSaltPromise = promisify1<number, string>(genSalt) | 12 | const bcryptGenSaltPromise = promisify1<number, string>(genSalt) |
13 | const bcryptHashPromise = promisify2<any, string | number, string>(hash) | 13 | const bcryptHashPromise = promisify2<any, string | number, string>(hash) |
14 | 14 | ||
15 | const httpSignature = require('http-signature') | 15 | const httpSignature = require('@peertube/http-signature') |
16 | 16 | ||
17 | async function createPrivateAndPublicKeys () { | 17 | async function createPrivateAndPublicKeys () { |
18 | logger.info('Generating a RSA key...') | 18 | logger.info('Generating a RSA key...') |