
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
@tanker/filekit
Advanced tools
FileKit is an end-to-end encrypted file storage service for apps.
FileKit stores and transfers files in the cloud. The files are encrypted in the browser before being uploaded, and can be downloaded only by the owner and recipients, completely transparently.
It wraps Tanker Core and Tanker VerificationUI in a single easy-to-use to use package.
Here is an example of what an application built with FileKit can do.
To get started, you can read the tutorial on creating a secure file transfer app.
Our detailed documentation is available here.
import FileKit from '@tanker/filekit';
// Initialize the FileKit object
const appId = 'Your app ID';
const filekit = new FileKit({ appId });
// Start a session
const email = 'alice@company.com';
const tankerIdentity = await yourServer.authenticate(email);
await fileKit.start(email, { identity: tankerIdentity });
// Encrypt and upload a file from <input type="file" id="fileInput" />
const fileToUpload = document.getElementById('fileInput').files[0];
const fileId = await fileKit.upload(fileToUpload);
// Download, decrypt, and save a file to disk
await fileKit.downloadToDisk(fileId);
// Download, decrypt, and get a File object
const file = await fileKit.download(fileId);
FAQs
Tanker FileKit SDK
We found that @tanker/filekit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.