Commit Graph

64 Commits

Author SHA1 Message Date
Bruno Bernardino 6de33c115b
Fix critical vulnerabilities in dependencies
Mostly `ejs` via `workbox` and `parse-url` via `lerna`.
2022-07-20 08:43:05 +01:00
Bruno Bernardino 421e68db38
Merge branch 'master' into v4 2022-07-19 09:15:17 +01:00
Bruno Bernardino dd41fd749b
Fix connect_replace ending up in non-dev now 2022-07-01 12:28:18 +01:00
Bruno Bernardino 1515237a4c
Replace unnecessary let 2022-07-01 12:15:19 +01:00
Bruno Bernardino 6b5e31a208
Tweak to allow simpler but stil strict CSP in dev mode 2022-07-01 12:11:36 +01:00
Bruno Bernardino 61d6349807
Automatically include manifest files in CSP when building PWA
Fixes #471

The hardest part here was finding the right hook to tap into, and the silent error thing threw me off for a while as well.
2022-07-01 11:49:21 +01:00
Martin Kleinschrodt b00eb4fda9 Fix vulnerable dependencies (where possible) 2022-06-22 14:32:27 +02:00
Bruno Bernardino 8e2036f297
Checksums - Allow anyone to confirm source and delivered code (#467)
* Checksums - Allow anyone to confirm source and delivered code

For now this only has the initial step on making CSP stricter so we can use it to parse through used files.

Very much WIP for now, but now it should just be a matter of writing up concise docs on how to go through the process, after generating and publishing the checksums via CI as well.

Related to #331

* Lint!

* Add more instructions and CI to build checksums.

* Fix typo and lint

* Remove CSP package dependency, build it manually.

Update commands in docs, fix web extension release.

* Tweak docs and webpack. CI still isn't producing a matching checksum, though.

* Tweak docs for web checksums, add debugging in the checksum action, make it faster, temporarily.

* Fix web checksum, add checksums and instructions for everything else

Closes #467

* Fix tauri release + macos sha256sum

* Remove .app checksum, since it's a directory and checksum'ing the .tar.gz seems strange.

* Properly indent + fix sha256sum results (and windows line endings problem)

* Include PWA for release, add instructions to change filenames when checksum fails.

* Include _everything_ in the CSP now, and tweak the verification script and checksum build to also include everything, now.

Still requires changes in the way to verify a published web app, where I'll have to write a script to parse through the whole CSP now.

* Add TypeScript (Deno) script to parse through CSP and download matched files.

Also update docs.

* Tweak web checksum examples.

* Remove content hashes from font files.

* Try sorting files before adding to CSP, to enforce consistency.
2022-06-20 07:34:45 +01:00
Bruno Bernardino 8ef09eb7be
Security Audit v1 (#414)
This adds a security audit page with automatic checks for:

- Reused passwords
- Weak passwords
- Compromised passwords

Storing the audit information in the items themselves.

Co-authored-by: Martin Kleinschrodt <martin@maklesoft.com>
2022-04-06 07:18:50 +01:00
Martin Kleinschrodt e0bb56cd9a Update tauri and other dependencies 2022-03-22 08:01:48 +01:00
Martin Kleinschrodt 83362a6511 Add pwa readme 2022-02-25 16:25:33 +01:00
Martin Kleinschrodt b37fb74e33 Load terms of service url from manifest file 2022-01-31 12:02:35 +01:00
Bruno Bernardino 1589b05baa
CI: Full Release (#376)
* CI: Full Release

This implements a full release action that takes care of creating a tag, release, then building and uploading builds for all targets.
2022-01-17 17:32:21 +00:00
Martin Kleinschrodt 0a72ff948c First pass at implementing favicons 2021-12-24 15:20:40 +01:00
Bruno Bernardino 50ae105b45
A few improvements, requested from the review:
- File reading is now happening later in the process;
- File reading now reuses methods from `core/attachment`;
- Errors thrown in the import now include an error message;
- Adds prettier command to "prettify" all files;
- Adds prettier command to check for files not conforming to prettier's config;
- Makes CI run the prettier:check command;
- Changes `export const method = () => {};` to `export function method() {}` in the `1pux-parser` file;
- Other minor consistency changes/fixes/improvements;
- Actually ran prettier on every file, and it had a lot of things to tweak.
2021-12-20 15:01:25 +00:00
Bruno Bernardino 81343a6188
Import works now, except for 2FA codes which show as invalid.
Other tweaks made to dependencies and types
2021-12-16 16:20:51 +00:00
Martin Kleinschrodt 7d262e35be Fix build issues by updating dependencies and regenerating lock files 2021-12-16 10:33:05 +01:00
Bruno Bernardino 5d0d688968 Lock dependencies' versions
This implements `.nvmrc` and `.npmrc` files, as well as locking `package.json` versions, in order to get us closer to reproducible builds and more stable environment.

Closes #320
2021-12-16 09:01:59 +01:00
Martin Kleinschrodt 3bcaa7d7aa "Manually" generate favicon instead of using webpack plugin 2021-12-05 09:26:15 +01:00
Martin Kleinschrodt ff0b4d3c40 Resolve assets dir relative to root dir, not current file 2021-11-19 15:58:09 +01:00
Martin Kleinschrodt 8c58062160 Upgrade various dependencies to fix dependabot warnings 2021-10-30 16:26:26 +02:00
Martin Kleinschrodt 9e94dc27d3 Customize scrollbar appearance 2021-10-19 09:01:29 +02:00
Martin Kleinschrodt 649ed1284c Add separate vendor version property 2021-10-17 13:47:33 +02:00
Martin Kleinschrodt 80ef149559 Add support page 2021-10-14 15:58:24 +02:00
Martin Kleinschrodt bde6ef77d9 Automatically generate cordova icons from singe app icon image 2021-10-12 17:33:49 +02:00
Martin Kleinschrodt 07bc7cfe9c Generate extension icons from single vector source 2021-10-12 14:37:05 +02:00
Martin Kleinschrodt 87c5cd74af Some more theme adjustments 2021-10-09 18:10:57 +02:00
Martin Kleinschrodt ba2fe6f874 Adjust loading screen color based on theme 2021-10-09 17:23:05 +02:00
Martin Kleinschrodt e94d75dbb5 Add mechanism for switching out themes 2021-10-08 10:09:48 +02:00
Martin Kleinschrodt 78fc76b456 Add better implementation for "ad hoc" default authenticators; allow client to specify which authentication types it supports 2021-09-28 15:41:40 +02:00
Martin Kleinschrodt b5d3bb2a4a Try preventing oauth popups from being blocked where possible 2021-09-28 09:13:27 +02:00
Martin Kleinschrodt 7dfdd3a27b Upgrade typescript version 2021-09-25 10:06:45 +02:00
Martin Kleinschrodt 3a5ea2e318 Implement PKCE for openid 2021-09-24 13:10:20 +02:00
Martin Kleinschrodt 66b7e22bf6 First pass at implementing open id authenticator 2021-09-20 15:57:05 +02:00
Martin Kleinschrodt 54a161e502 Some dependency upgrades 2021-09-15 10:20:21 +02:00
Martin Kleinschrodt fa01a8987e Remove favicons-webpack-plugin due to problems with transitive dependencies. Probably will need to find a better solution 2021-09-09 12:54:40 +02:00
Martin Kleinschrodt a1cfbbd992 Add support for TOTP as MFA method 2021-08-22 09:48:01 +02:00
Martin Kleinschrodt 63076556d8 Bump npm version to 4.0.0; clean up/fix some dependencies 2021-08-06 15:07:25 +02:00
Martin Kleinschrodt 88beab7e4b Merge commit '2a026dd03d0871160a33210837497d898ad5bf91' into v4
* commit '2a026dd03d0871160a33210837497d898ad5bf91':
  Fix unauthenticated SMTP connection
  v3.1.4
  Don't attempt to translate "My Vault" until issues with language loading are resolved
  Properly serialize/deserialize items during export/import

# Conflicts:
#	packages/app/package-lock.json
#	packages/app/package.json
#	packages/cordova/package-lock.json
#	packages/cordova/package.json
#	packages/core/package-lock.json
#	packages/core/package.json
#	packages/electron/package-lock.json
#	packages/electron/package.json
#	packages/extension/package-lock.json
#	packages/extension/package.json
#	packages/locale/package-lock.json
#	packages/manage/package.json
#	packages/pwa/package-lock.json
#	packages/server/package-lock.json
#	packages/server/package.json
#	packages/tauri/package-lock.json
#	packages/tauri/package.json
2021-07-17 09:36:48 +02:00
Martin Kleinschrodt 4e748dec1f First pass at implementing biometric unlock using webauthn 2021-06-16 17:20:49 +02:00
Martin Kleinschrodt 3444dc9e7f WIP 35 2021-05-30 15:53:51 +02:00
Martin Kleinschrodt c7a6682fe8 v3.1.4 2021-02-25 09:55:51 +01:00
Martin Kleinschrodt 00da3cc59d v3.1.3 2020-10-25 15:13:53 +01:00
Martin Kleinschrodt 71578d3f1d Bump version 2020-07-26 17:49:04 +02:00
Martin Kleinschrodt 87e0f52a3f Upgrade various dependencies 2020-07-19 17:44:11 +02:00
Martin Kleinschrodt 2bd3188b11 Bump the rest of the package files to v3.1.1 that were missed before 2020-07-04 16:24:20 +02:00
Martin Kleinschrodt cf78d7321e v3.1.1 2020-07-04 15:32:28 +02:00
Martin Kleinschrodt 4b5b23f273 Add blob: to CSP to fix displaying PDFs in Safari 2020-06-30 09:09:17 +02:00
Martin Kleinschrodt 82cb762f1f bump version to 3.1.0 2020-05-27 18:47:53 +02:00
Martin Kleinschrodt c722d05203 v3.0.14 2020-03-10 14:57:01 +01:00