We probably want something more like this, that makes sure each entry is examined in sequence, not asynchronously in parallel.

```js
var entries = zip.getEntries();
var examineNextEntry = function() {
  var entry = entries.shift();
  if (typeof entry === "undefined") {
    // we ran through all the entries and none of them matched
    // do appropriate thing here with innerCb
    return;
  }
  // examine logic for entry
  if (entryHash && entryHash === keystoreHash) {
    innerCb() // success! we found a matching entry
  } else {
    // this one doesn't match, let's look at the next one
    examineNextEntry();
  }
};
```