TOOLS-1592 triton CLI *using node 6* fails various commands with MD5 errors

Reviewed by: Julien Gilli <julien.gilli@joyent.com>
This commit is contained in:
Trent Mick 2016-10-31 16:54:55 -07:00
parent e7c321f3db
commit 84338a44b2
3 changed files with 7 additions and 2 deletions

View File

@ -7,6 +7,11 @@ Known issues:
## not yet released
## 4.14.2
- TOOLS-1592 First workaround for a possible BadDigestError when using
node v6.
## 4.14.1
- TOOLS-1587 'triton profile docker-setup' fails when path to 'docker' has

View File

@ -204,7 +204,7 @@ SaferJsonClient.prototype.parse = function parse(req, callback) {
res.on('data', function onData(chunk) {
if (contentMd5Hash) {
contentMd5Hash.update(chunk.toString('utf8'));
contentMd5Hash.update(chunk.toString('utf8'), 'binary');
}
if (gz) {

View File

@ -1,7 +1,7 @@
{
"name": "triton",
"description": "Joyent Triton CLI and client (https://www.joyent.com/triton)",
"version": "4.14.1",
"version": "4.14.2",
"author": "Joyent (joyent.com)",
"dependencies": {
"assert-plus": "0.2.0",