Skip to content

Commit

Permalink
Set expiration time for biometric sentences
Browse files Browse the repository at this point in the history
  • Loading branch information
kronolynx committed Aug 24, 2016
1 parent aca222b commit b342374
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"mkdirp": "^0.5.1",
"node-localstorage": "^1.3.0",
"npm": "^3.9.5",
"pgp-word-list-converter": "^1.0.0",
"progress": "^1.1.8",
"simple-git": "^1.37.0",
"sleep": "^3.0.1",
Expand Down
5 changes: 2 additions & 3 deletions src/Setup.iced
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fs = require 'fs'
os = require 'os'
kbpgp = require 'kbpgp'
progress = require 'progress'
pgpWordList = require 'pgp-word-list-converter'
pgpWordList = require('pgp-word-list-converter')()
crypto = require 'crypto'
Vault = require './Vault'

Expand Down Expand Up @@ -74,7 +74,6 @@ class Configure
# if change is null the document was deleted
process.exit 0 unless change
if change?.client
console.log "storage..."
@localStorage.setItem 'client_pub_key', change.client
vault.remove 'exchange', [change], (res) =>
console.log "file deleted"
Expand All @@ -86,7 +85,7 @@ class Configure
@alert "Time to get confirmation from Trailbot Client expired", true
@alert "New words generated"
@alert "#{@channelToWords(exchange.channel)}".cyan.bold, true
, 350000
, 300000



Expand Down

0 comments on commit b342374

Please sign in to comment.