You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to encrypt a file with a public key. The file is getting generated but the destination file is empty, 0 bytes of data.
Is there anyone who can help me here?
gpg.importKey(publicKey, [], (err, success) => { console.log('printing success', success) if (err) { console.log('printing error', err) } else { gpg.callStreaming('C:/Users/file.csv', 'C:/Users/file.csv.gpg', ['--recipient=publickey.com', '--encrypt'], function(err){ if (err) { console.error('There was an error reading the file!', err); return; } }) } })
Please note, I have found a similar issue raised before but there was no update on the solution and it was closed. I am unable to open the same issue so creating a new issue for the same.
Reference to the previous issue raised: #21
The text was updated successfully, but these errors were encountered:
I'm trying to encrypt a file with a public key. The file is getting generated but the destination file is empty, 0 bytes of data.
Is there anyone who can help me here?
gpg.importKey(publicKey, [], (err, success) => { console.log('printing success', success) if (err) { console.log('printing error', err) } else { gpg.callStreaming('C:/Users/file.csv', 'C:/Users/file.csv.gpg', ['--recipient=publickey.com', '--encrypt'], function(err){ if (err) { console.error('There was an error reading the file!', err); return; } }) } })
Please note, I have found a similar issue raised before but there was no update on the solution and it was closed. I am unable to open the same issue so creating a new issue for the same.
Reference to the previous issue raised: #21
The text was updated successfully, but these errors were encountered: