Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
maxtaco committed Feb 21, 2020
1 parent cb93639 commit 29c76f3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
## 2.3.20 (2020-02-21)

- more plumbing the dohash flag through

## 2.3.19 (2020-02-21)

- the client field was in the wrong place and didn't agree with Go
Expand Down
9 changes: 6 additions & 3 deletions lib/base.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/base.iced
Expand Up @@ -560,14 +560,14 @@ class Base

#------

generate : (cb) ->
generate : (cb, {dohash} = {}) ->
esc = make_esc cb, "generate"
out = null
opts = version : constants.versions.sig_v1
await @_v_generate opts, esc defer()
await @generate_json opts, esc defer json, json_obj, expansions
inner = { str : json, obj : json_obj }
await @sig_eng.box json, esc defer {pgp, raw, armored}
await @sig_eng.box json, esc(defer({pgp, raw, armored})), { dohash }
{short_id, id} = make_ids raw
out = { pgp, json, id, short_id, raw, armored, inner, expansions }
cb null, out
Expand Down

0 comments on commit 29c76f3

Please sign in to comment.