Commit Graph

565 Commits

Author SHA1 Message Date
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
Bernd Schoolmann 8553e0d798
Add more logging to path selection 2024-02-23 05:58:26 +01:00
Bernd Schoolmann 93a727260a
Update com.quexten.Goldwarden.metainfo.xml 2024-02-23 05:54:20 +01:00
Bernd Schoolmann 8f01520b87
Update PKGBUILD 2024-02-23 05:53:32 +01:00
Bernd Schoolmann 966da90491
Fix incorrectly moved ssh socket path 2024-02-22 14:38:38 +01:00
Bernd Schoolmann 9fbe5818af
Update logo 2024-02-22 14:33:22 +01:00
Bernd Schoolmann ebbac558f1
Update logo 2024-02-22 14:32:20 +01:00
Bernd Schoolmann fe6a79924a
Update Readme.md 2024-02-22 13:44:25 +01:00
Bernd Schoolmann a93eab1033
Update Readme.md 2024-02-21 06:58:57 +01:00
Bernd Schoolmann ab431835d4
Fix socket path in daemonize 2024-02-21 06:42:10 +01:00
Bernd Schoolmann ac9251d0f4
Add debugging info to cipherstring decryption 2024-02-21 06:39:06 +01:00
Bernd Schoolmann 7653cf382b
Merge pull request #120 from quexten/fix/socket-paths
Attempt to fix socket path detection & biometrics setup
2024-02-18 23:52:32 +01:00
Bernd Schoolmann 80d476a9b5
Add debug log for browser biometrics setup 2024-02-18 06:36:01 +01:00
Bernd Schoolmann 0cd55f4052
Attempt to fix socket path detection 2024-02-18 06:08:37 +01:00
Bernd Schoolmann 04f25150af
Add debug logging build 2024-02-18 01:34:54 +01:00
Bernd Schoolmann 9d5514a976
Update com.quexten.Goldwarden.metainfo.xml 2024-02-17 14:53:14 +01:00
Bernd Schoolmann 715d04c5ab
Update release.yml 2024-02-17 14:29:03 +01:00
Bernd Schoolmann 93dc64ae36
Update PKGBUILD to 0.2.12 2024-02-17 14:24:58 +01:00
Bernd Schoolmann 8b95af6458
Fix broken arch ci due to maintainer account renaming 2024-02-17 14:17:27 +01:00
Bernd Schoolmann 969ee1ff49
Update com.quexten.Goldwarden.metainfo.xml 2024-02-17 14:03:09 +01:00
Bernd Schoolmann f99d618b33
Fix flatpak build 2024-02-17 13:44:00 +01:00
Bernd Schoolmann f894af5fb3
Update PKGBUILD 2024-02-17 13:39:47 +01:00
Bernd Schoolmann 29bd40384b
Fix autotype and remove debug logging 2024-02-17 13:38:54 +01:00
Bernd Schoolmann 6ee67d6569
Use gtk clipboard instead of wl clipboard 2024-02-17 13:32:58 +01:00
Bernd Schoolmann 13bd29dbf9
Add browser biometrics setup window 2024-02-17 12:48:26 +01:00
Bernd Schoolmann 623fdcb719
Add flatpak biometric setup 2024-02-17 12:28:04 +01:00
Bernd Schoolmann 3b2d1fcf11
Improve biometric socket path detection 2024-02-17 12:11:30 +01:00
Bernd Schoolmann 5cc502580f
Increase read buffer to 4 MiB 2024-02-17 11:30:16 +01:00
Bernd Schoolmann f7da373fa0
Fix crash in ui 2024-02-17 11:22:49 +01:00