YahooArchive / end-to-end

Use OpenPGP-based encryption in Yahoo mail.
http://yahoo.tumblr.com/post/113708033335/user-focused-security-end-to-end-encryption
Apache License 2.0
223 stars 40 forks source link

check if kauth.pub.js exists #64

Closed yukinying closed 8 years ago

yukinying commented 8 years ago

The ./do.sh config [host] would fail if kauth.pub.js does not exist, as it will be translate to:

   sed -i.bak 's/\[.*\]//' src/javascript/crypto/e2e/extension/config.js

which generates the following error when compiled

.src/javascript/crypto/e2e/extension/config.js:26: ERROR - Parse error. primary expression expected
  KAUTH_PUB: ,

1 error(s), 0 warning(s)
maditya commented 8 years ago

:+1: