Commit Graph

149 Commits

Author SHA1 Message Date
Bernd Schoolmann f58993870b
Merge pull request #153 from talal/patch-1
Fix typos
2024-04-06 00:35:16 +02:00
Muhammad Talal Anwar 7937fcf25c Fix typos 2024-04-05 21:06:23 +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 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
Nathan Dehnel 6a84d18279 Update peercred dependency 2024-03-20 22:43:58 -05: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
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