Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Unknown cipher type #16

Closed
marcosmaziero opened this issue Jul 14, 2018 · 1 comment
Closed

Unknown cipher type #16

marcosmaziero opened this issue Jul 14, 2018 · 1 comment

Comments

@marcosmaziero
Copy link

$bw --version
1.0.1
$bw get template item
{"organizationId":null,"folderId":null,"type":1,"name":"Item name","notes":"Some notes about this item.","favorite":false,"fields":[],"login":null,"secureNote":null,"card":null,"identity":null}

$echo '{"name":"Teste"}' | bw encode | bw create item
(node:21967) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): Error: Unknown cipher type.
(node:21967) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@kspearrin
Copy link
Member

You have to specify a type in the JSON you are echoing in. See bw get template item for an example.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants