Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: |
export SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)
export TOKEN_SIGNING_BACKWARDS_COMPATIBILITY=true
npm run test clean build package
npm run test clean build package validate

- name: Generate SBOM
run: |
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@ The Web eID extension for Safari is built as a [Safari web extension](https://de

4. Build the project with zip packages
```bash
npm run clean build package
npm run clean build package validate
```

For reproducible builds, set the `SOURCE_DATE_EPOCH` environment variable.
See [https://reproducible-builds.org/docs/source-date-epoch](https://reproducible-builds.org/docs/source-date-epoch) for details.
```bash
SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) npm run clean build package
SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) npm run clean build package validate
```

Alternatively, for reproducible builds, the `SOURCE_DATE_EPOCH` value can be taken from the `SOURCE_DATE_EPOCH` file of a previous build.
```bash
SOURCE_DATE_EPOCH=$(cat ../previous-build/dist/firefox/SOURCE_DATE_EPOCH) npm run clean build package
SOURCE_DATE_EPOCH=$(cat ../previous-build/dist/firefox/SOURCE_DATE_EPOCH) npm run clean build package validate
```

For backwards compatibility with TokenSigning API, set the `TOKEN_SIGNING_BACKWARDS_COMPATIBILITY` environment variable to `true`.
```bash
TOKEN_SIGNING_BACKWARDS_COMPATIBILITY=true npm run clean build package
TOKEN_SIGNING_BACKWARDS_COMPATIBILITY=true npm run clean build package validate
```

5. Load in Firefox as a Temporary Extension
Expand Down
Loading