From 62495ca852028195b60cd5a3124fd1fca8bdaa7c Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 11 Dec 2018 10:07:29 +0100 Subject: [PATCH] doc: cleanup README.md a bit We used to have two ways of passing key data to stringify. Now there is only one left. The README mentioned it twice. --- README.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/README.md b/README.md index 5f30f80..2a11f68 100644 --- a/README.md +++ b/README.md @@ -64,16 +64,6 @@ var header = Autocrypt.stringify({ }) ``` -You can also pass the Autocrypt base-64 encoded `keydata` directly. - -```js -var header = Autocrypt.stringify({ - keydata: 'pYEWY0RSAEER1+gQRtZECyyww67....', - addr: 'myemail@myuniversity.edu', - 'prefer-encrypt': 'mutual' -}) -``` - A value of `type=1` is automatically added to the header if not supplied, since at this time Autocrypt only supports `type=1`. ### ```Autocrypt.parse(header)```