# ssb-secret-blob

> encrypted blobs over ssb

Latest version **1.0.1** (published 2018-10-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install ssb-secret-blob
pnpm add ssb-secret-blob
yarn add ssb-secret-blob
bun add ssb-secret-blob
```

Provides the command `sblob`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-10-29 |
| First published | 2016-06-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 550.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Dominic Tarr |
| Maintainers | ahdinosaur, andregarzia, arj03, cel, christianbundy, cryp7ix, dominictarr, happy0, kyphae, marak, mixmix, mmckegg, noffle, pfrazee, pietgeursen, regular, staltz, substack, vtduncan |

## Links

- npm: https://www.npmjs.com/package/ssb-secret-blob
- Repository: https://github.com/dominictarr/ssb-secret-blob
- Issues: https://github.com/dominictarr/ssb-secret-blob/issues
- npm.io page: https://npm.io/package/ssb-secret-blob

## Dependencies (8)

- [ssb-ref](https://npm.io/package/ssb-ref.md) ^2.3.0
- [ssb-keys](https://npm.io/package/ssb-keys.md) ^7.0.0
- [pull-file](https://npm.io/package/pull-file.md) ^0.5.0
- [pull-hash](https://npm.io/package/pull-hash.md) 0.0.1
- [ssb-client](https://npm.io/package/ssb-client.md) ^4.3.0
- [pull-stream](https://npm.io/package/pull-stream.md) ^3.4.5
- [pull-box-stream](https://npm.io/package/pull-box-stream.md) ^1.0.11
- [stream-to-pull-stream](https://npm.io/package/stream-to-pull-stream.md) ^1.7.2

## Recent versions

- 1.0.1 (latest) — 2018-10-29
- 1.0.0 — 2017-12-12
- 0.1.1 — 2016-06-09
- 0.1.0 — 2016-06-09

## README

# ssb-secret-blob

a simple script to encrypt a blob for secure scuttlebutt

## usage

```
# add a file to your local sbot, but encrypt it.
# a token comprised of the encrypted blob id,
# and the decryption key will be output.
# paste that into a private ssb message to send a private blob.

> sblob encrypt file.txt
{id?unbox=key}

# decrypt an encrypted blob.
# the token must be inside quotes, or bash won't parse it right.
# output will be contents of file.txt
> sblob decrypt "{id?unbox=key}"
```



## License

MIT

---
_Source: https://npm.io/package/ssb-secret-blob · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
