]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/helpers/peertube-crypto.ts
Remove resumable cache after upload success
[github/Chocobozzz/PeerTube.git] / server / helpers / peertube-crypto.ts
index 66060bde294d39137a69da2116171a5bca386bba..44d90d9f12fdc9fdeaaaeff8ebf0c23cce37c7f5 100644 (file)
@@ -12,7 +12,7 @@ const bcryptComparePromise = promisify2<any, string, boolean>(compare)
 const bcryptGenSaltPromise = promisify1<number, string>(genSalt)
 const bcryptHashPromise = promisify2<any, string | number, string>(hash)
 
-const httpSignature = require('http-signature')
+const httpSignature = require('@peertube/http-signature')
 
 async function createPrivateAndPublicKeys () {
   logger.info('Generating a RSA key...')