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
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
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
Sandro
8839b33f8c
Cleanup duplicated import
2024-03-02 02:29:49 +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
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
0cd55f4052
Attempt to fix socket path detection
2024-02-18 06:08:37 +01:00
Bernd Schoolmann
9ac1d8100a
Grant other sessions while pin session is active
2024-02-17 09:52:19 +01:00
Bernd Schoolmann
11ad8c4f48
Attempt to fix gui login errors when uri is missing
2024-02-12 18:06:53 +01:00
Bernd Schoolmann
a94d8f052b
Reduce number of ssh approval prompts
2024-02-12 17:41:23 +01:00
Bernd Schoolmann
761fb91a8a
Disable prctl dumpable protection under delve debugging
2024-02-12 03:32:44 +01:00
Bernd Schoolmann
01f36cc571
Implement pincache
2024-02-09 20:48:44 +01:00
Bernd Schoolmann
dc05cdfee6
Lock down session commands
2024-02-09 19:46:29 +01:00
Bernd Schoolmann
69797aa50b
Remove old config options
2024-02-09 19:37:09 +01:00
Bernd Schoolmann
35cc409943
Lock down session auth mode
2024-02-09 19:32:01 +01:00
Bernd Schoolmann
a6d3a1026d
Fix pinentry in flatpak
2024-02-09 17:26:41 +01:00
Bernd Schoolmann
75982ad322
Enable regular pinentry
2024-02-09 15:03:42 +01:00
Bernd Schoolmann
069afeae27
Implement pinentry integration for ui
2024-02-09 14:03:27 +01:00
Bernd Schoolmann
ac0e84a46f
Implement initial pinentry
2024-02-09 00:24:28 +01:00
Bernd Schoolmann
8b08d5841a
Disable extra prompt for list logins
2024-02-08 18:18:25 +01:00
Bernd Schoolmann
ca17380758
FIx freeze and remove some logging
2024-02-08 17:12:13 +01:00
Bernd Schoolmann
cf6221c080
Add initial authenticated connection work
2024-02-08 16:35:07 +01:00
Bernd Schoolmann
f3196863bb
Add sync return url
2024-02-04 19:56:36 +01:00
Bernd Schoolmann
d0e0d66509
Add experimental send creation support
2024-02-04 19:34:09 +01:00
Bernd Schoolmann
f135e8b302
Cleanup sockets
2024-02-04 01:58:38 +01:00
Bernd Schoolmann
4afd6ef9b1
Make ssh sockets close on exit
2024-02-04 01:58:37 +01:00
Bernd Schoolmann
6f10836300
Make passwordless auth only act on notification click
2024-02-04 01:15:26 +01:00
Bernd Schoolmann
01fe7b7ff4
Fix windows build
2024-02-04 00:56:55 +01:00
Bernd Schoolmann
39c175a1f6
Add notifications on macos
2024-02-04 00:53:16 +01:00
Bernd Schoolmann
1933917634
Add notifications on windows
2024-02-04 00:49:42 +01:00
Bernd Schoolmann
7949ed63f3
Attempt to fix osx build
2024-02-04 00:36:08 +01:00
Bernd Schoolmann
ab9aaf2fe1
Attempt to fix osx build
2024-02-04 00:34:09 +01:00
Bernd Schoolmann
599cc1003f
Fix ssh daemon on windows
2024-02-04 00:24:40 +01:00
Bernd Schoolmann
1e24bce546
Add windows ssh named pipe
2024-02-04 00:08:25 +01:00
Bernd Schoolmann
1455cf9cb2
Fix config dir creation on windows
2024-02-03 23:15:29 +01:00
Bernd Schoolmann
e0cb8a9187
Vendor out the keybase pinentry
2024-02-03 22:55:49 +01:00
Bernd Schoolmann
f60fcfd408
Add pinentry on windows & macos
2024-02-03 22:18:11 +01:00
Bernd Schoolmann
25b72e4c43
Implement totp copy and url launch
2024-01-20 17:34:42 +01:00
Bernd Schoolmann
8eb55f2808
Add url auto-config and web vault config
2024-01-20 12:32:27 +01:00
Bernd Schoolmann
b4cbf63d6d
Fix ssh keygen
2024-01-20 05:40:22 +01:00
Bernd Schoolmann
61d490d5a0
Fix sync errors
2024-01-19 12:28:01 +01:00
Bernd Schoolmann
d2cd2da7e2
Fix vault pin not settable without biometrics
2024-01-19 09:26:19 +01:00
Bernd Schoolmann
f3954e196c
Remove logging
2024-01-19 08:59:02 +01:00