Commit Graph

543 Commits

Author SHA1 Message Date
Bernd Schoolmann 2734ac76ec
Update dependencies 2024-04-28 16:37:38 +02:00
Bernd Schoolmann 2449d57504
Merge pull request #165 from quexten/dependabot/go_modules/github.com/Microsoft/go-winio-0.6.2
Bump github.com/Microsoft/go-winio from 0.6.1 to 0.6.2
2024-04-28 16:07:03 +02:00
dependabot[bot] aeb988b232
Bump github.com/Microsoft/go-winio from 0.6.1 to 0.6.2
Bumps [github.com/Microsoft/go-winio](https://github.com/Microsoft/go-winio) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/Microsoft/go-winio/releases)
- [Commits](https://github.com/Microsoft/go-winio/compare/v0.6.1...v0.6.2)

---
updated-dependencies:
- dependency-name: github.com/Microsoft/go-winio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-28 14:05:51 +00:00
Bernd Schoolmann c4e7f77ec6
Merge pull request #163 from quexten/dependabot/go_modules/github.com/google/uuid-1.6.0
Bump github.com/google/uuid from 1.5.0 to 1.6.0
2024-04-28 16:05:31 +02:00
Bernd Schoolmann c1df8d4f11
Merge pull request #162 from quexten/dependabot/go_modules/github.com/awnumar/memguard-0.22.5
Bump github.com/awnumar/memguard from 0.22.4 to 0.22.5
2024-04-28 16:05:19 +02:00
Bernd Schoolmann cc29e159c9
Merge pull request #161 from quexten/dependabot/go_modules/golang.org/x/crypto-0.22.0
Bump golang.org/x/crypto from 0.17.0 to 0.22.0
2024-04-28 16:05:09 +02:00
Bernd Schoolmann bbafde07fa
Merge pull request #160 from olastor/fix-macos-build-amd64
fix: pin macos-13 as os for building amd64 binary
2024-04-28 16:04:41 +02:00
dependabot[bot] a5bc1a09f2
Bump github.com/google/uuid from 1.5.0 to 1.6.0
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/uuid/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/google/uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-28 14:02:23 +00:00
dependabot[bot] b06db43b50
Bump github.com/awnumar/memguard from 0.22.4 to 0.22.5
Bumps [github.com/awnumar/memguard](https://github.com/awnumar/memguard) from 0.22.4 to 0.22.5.
- [Release notes](https://github.com/awnumar/memguard/releases)
- [Commits](https://github.com/awnumar/memguard/compare/v0.22.4...v0.22.5)

---
updated-dependencies:
- dependency-name: github.com/awnumar/memguard
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-28 14:02:18 +00:00
dependabot[bot] 8f60b37acf
Bump golang.org/x/crypto from 0.17.0 to 0.22.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.17.0 to 0.22.0.
- [Commits](https://github.com/golang/crypto/compare/v0.17.0...v0.22.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-28 14:02:18 +00:00
Bernd Schoolmann 07aa9a5932
Create dependabot.yaml 2024-04-28 16:01:48 +02:00
Sebastian 7b00d56c66 fix: pin macos-13 as os for building amd64 binary 2024-04-28 14:10:33 +02:00
Bernd Schoolmann f58993870b
Merge pull request #153 from talal/patch-1
Fix typos
2024-04-06 00:35:16 +02:00
Muhammad Talal Anwar d593ede6d4 Fix variable name 2024-04-05 21:07:11 +02:00
Muhammad Talal Anwar 7937fcf25c Fix typos 2024-04-05 21:06:23 +02:00
Bernd Schoolmann 50fcaf2f41
Disable badpass response 2024-04-05 08:36:54 +02:00
Bernd Schoolmann b9a2c1608d
Merge pull request #152 from quexten/feature/background-status
Add background status support
2024-04-05 08:08:15 +02:00
Bernd Schoolmann e087ffa422
Add error on missing ssh key 2024-04-05 08:06:43 +02:00
Bernd Schoolmann 1e1ec95fe3
Remove unused code 2024-04-05 08:06:31 +02:00
Bernd Schoolmann f53a9a13ac
Add debug logging to keyhierarchy 2024-04-05 08:06:17 +02:00
Bernd Schoolmann 24f6907c0d
Fix sync error 2024-04-05 08:06:02 +02:00
Bernd Schoolmann f798ef3825
Add error handling for encryption routines 2024-04-05 08:05:35 +02:00
Bernd Schoolmann bd635d8b15
Add background status support 2024-04-05 02:45:23 +02:00
Bernd Schoolmann 6ac5754075
Merge pull request #141 from SuperSandro2000/browser-err
Improve overhaul error handling, Fix more lints found by golangci-lint's default config
2024-03-21 08:42:43 +01:00
Bernd Schoolmann 7b3e21b238
Merge pull request #145 from Gooberpatrol66/main
Update peercred dependency
2024-03-21 05:52:18 +01:00
Nathan Dehnel 6a84d18279 Update peercred dependency 2024-03-20 22:43:58 -05:00
Bernd Schoolmann 3323326920
Merge branch 'main' into browser-err 2024-03-17 14:46:28 +01:00
Bernd Schoolmann 84fe1492f1
Merge pull request #140 from SuperSandro2000/browser
Make browser part easier to package
2024-03-16 07:16:23 +01:00
Sandro Jäckel 17f62c130e
Fix more lints found by golangci-lint's default config 2024-03-15 16:23:11 +01:00
Sandro Jäckel 1479d9f8fd
Improve overhaul error handling 2024-03-15 16:22:45 +01:00
Sandro Jäckel d940af61fa
Replace all panics in browserbiometrics with proper error checking 2024-03-15 15:59:35 +01:00
Sandro Jäckel 86d4f907fb
Use go's embed to have access to the plain files
This makes it pretty easy for distros to install the files already to
the correct positions
2024-03-15 15:39:10 +01:00
Sandro Jäckel c134a0e61d
Replace @PATH@, cleanup formatting a bit
This makes it easier to replace the path to the script in NixOS
2024-03-15 15:29:55 +01:00
Sandro Jäckel 91612b9d26
Fix error checking 2024-03-15 15:29:44 +01:00
Bernd Schoolmann d6e1cd2633
Update scan depth for browser biometrics 2024-03-14 20:09:41 +01:00
Bernd Schoolmann 40a77ffcbb
Update Readme.md 2024-03-08 16:42:36 +01:00
Bernd Schoolmann cb66b2a9be
Merge pull request #133 from SuperSandro2000/fix-paths
Use /usr/bin/env for binaries
2024-03-07 00:34:09 +01:00
Sandro Jäckel cdaaaf813b
Use /usr/bin/env for binaries
to make them easily work on almost all platforms
2024-03-06 23:07:24 +01:00
Bernd Schoolmann bc1a94ba71
Merge pull request #130 from SuperSandro2000/lints-agents
Fix whole bunch of lints
2024-03-05 15:06:13 +01:00
Bernd Schoolmann 60abbb0f82
Merge pull request #129 from SuperSandro2000/more-error-handling
Fix more error handling
2024-03-03 10:52:30 +01:00
Sandro Jäckel eb400ee656
Fix whole bunch of lints 2024-03-03 02:30:38 +01:00
Sandro Jäckel a0b82eb175
Fix typos 2024-03-03 01:42:50 +01:00
Sandro Jäckel 886b7f66c3
Fix error string formatting 2024-03-03 01:40:12 +01:00
Sandro Jäckel 5cc498dc62
Properly forward errors when log in is cancelled with client secret 2024-03-03 01:40:12 +01:00
Bernd Schoolmann bb59756e79
Merge pull request #128 from SuperSandro2000/pinentry-error
Properly forward missing pinentry errors
2024-03-02 19:18:27 +01:00
Sandro Jäckel fc5a1f79f6
Properly forward missing pinentry errors
Before running the following command without pinentry in PATH resulted
in: Login failed: Could not sync vault: decrypt: MAC mismatch

With this change the error is properly forwarded and displayed
$ ./goldwarden vault login --email me@example.com
Login failed: exec: "pinentry": executable file not found in $PATH
2024-03-02 17:11:17 +01:00
Bernd Schoolmann ce6cb0503c
Merge pull request #127 from SuperSandro2000/patch-1
Cleanup duplicated import
2024-03-02 03:07:05 +01:00
Sandro 8839b33f8c
Cleanup duplicated import 2024-03-02 02:29:49 +01:00
Bernd Schoolmann 23a336e4b3
Merge pull request #123 from csutcliff/ExtendedAgent
Implement ExtendedAgent
2024-02-23 13:43:38 +01:00
Chris Sutcliff c7cc1d646e
Implement ExtendedAgent
Allows clients to specify the algorithm used via the `SignWithFlags` function. Currently this is `rsa-sha2-256` or `rsa-sha2-512` which are the two allowable options in the spec but it is extendable in the future as required.

Aiming to reduce code duplication, Existing `Sign` function retains it's default behaviour by calling `SignWithFlags` with `SignatureFlagReserved`.

The other `ExtendedAgent` function `Extension` returns `ErrExtensionUnsupported` to all calls as required by the spec.
2024-02-23 11:29:10 +00:00