Skip to content

build(deps): bump lodash from 4.17.11 to 4.17.14 - #1

Merged
derevnjuk merged 1 commit into
masterfrom
dependabot/npm_and_yarn/lodash-4.17.14
Jul 15, 2019
Merged

derevnjuk merged 1 commit into
masterfrom
dependabot/npm_and_yarn/lodash-4.17.14

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 15, 2019

Copy link
Copy Markdown
Contributor

Bumps lodash from 4.17.11 to 4.17.14.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
@derevnjuk
derevnjuk merged commit fce1f3b into master Jul 15, 2019
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/lodash-4.17.14 branch July 15, 2019 08:49
aborovsky added a commit that referenced this pull request Nov 16, 2026
…826)

## What

The `"cert"` field of `--pkcs11-cert` is replaced by `"certFile"`, which
takes only a path. Without it, the certificate is read from the token.
`Pkcs11Cert.cert: string` becomes `certFile?: string`.

```
--pkcs11-cert '{"hostname":"example.com","pinFile":"/run/card.pin"}'                                       # certificate from the token
--pkcs11-cert '{"hostname":"example.com","pinFile":"/run/card.pin","certFile":"/etc/card/client.pem"}'     # certificate from a PEM file
```

## Why

`"cert"` took either the value `"token"` or a PEM file path:

- A file named `token` in the working directory could not be given.
- The parsed descriptor always carried `cert: 'token'`, so every caller
compared against that value.

## How

- **Parser.** `certFile` is resolved to an absolute path and must be an
existing file, as `cert` was before. The daemon still requires an
absolute path.
- **Old field.** `"cert"` is rejected at startup and its replacement is
named, as `"object"` is:
  ```
Option --pkcs11-cert #1 (hostname "localhost"): "cert" was replaced by
"certFile", the path of a PEM file with the certificate. Leave it out to
read the certificate from the token.
  ```
- **Pre-flight.** It reads the certificate from the token when
`certFile` is absent. Error messages and the restart example now name
`"certFile"`.
- **Docs.** The `--help` text, the Helm template's string-coerced fields
and the chart README are updated.

No CI script or test fixture set `"cert"`.

## Tests

- **Unit tests:** 615 pass (`npm run test:unit`) after merging the
current `feat/pkcs11-smart-card`, whose PIN-prompt and module-discovery
specs no longer set `"cert"`. This includes a parser case for the
rejected `"cert"`.
- **SoftHSM2 suites on macOS (libp11):** 14 pass, 1 skipped (engine).
The certificate-file test now uses `certFile`.
- **Built CLI (`node dist/index.js repeater …`):**
  - `"cert":"token"` gives the message above;
- a missing `certFile` gives `"certFile" … does not exist or is not a
file.`
- `npm run lint`, `npm run format` and `helm lint` are clean. `helm
template` renders `certFile` as a string.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant