Commit Graph

38 Commits

Author SHA1 Message Date
Sami Vänttinen a77ce2d573 Merge pull request #25 from varjolintu/release_021
Release 0.21
0.2.1
2025-04-05 08:50:20 +03:00
varjolintu cc7cafd46c Release 0.21 2025-04-05 08:47:31 +03:00
Sami Vänttinen 6e76a1fa1d Merge pull request #24 from neuschaefer/nix
Update nix to 0.29
2025-04-05 08:44:48 +03:00
J. Neuschäfer 173569d4d2 Update nix to 0.29 2025-01-25 13:22:45 +00:00
Sami Vänttinen 0b812153a8 Update README
Clafiried the socket paths.
2022-11-05 11:30:22 +02:00
Sami Vänttinen ab3439ed1b Merge pull request #20 from jirutka/readme-alpine
Add instructions for installing on Alpine Linux
2022-11-05 08:14:05 +02:00
Jakub Jirutka be2b126caa Add instructions for installing on Alpine Linux 2022-11-04 22:12:33 +01:00
Sami Vänttinen 4ef4f31ad9 Merge pull request #19 from varjolintu/bump_version_to_020
Bump version number to 0.2.0
2022-11-04 22:23:49 +02:00
varjolintu abfc1998b0 Bump version number to 0.2.0 2022-11-04 22:23:05 +02:00
Hugo 57d99bfc2a Relay all messages regardless of order (#17)
Relay all messages regardless of order
2022-11-04 21:33:41 +02:00
Sami Vänttinen 23bb4fda47 Merge pull request #16 from WhyNotHugo/remove-unwraps
Clean up `unwrap`s everywhere except `main()`
2022-09-29 07:20:52 +03:00
Hugo Osvaldo Barrera 22c65c0178 Clean up unwraps everywhere except main() 2022-09-25 16:55:07 +02:00
Hugo Osvaldo Barrera 85ff31c0b6 Tidy up imports
Mostly for `io::`.
2022-09-25 16:46:14 +02:00
Sami Vänttinen ee769d0237 Merge pull request #15 from jirutka/update-deps
Update dependencies
2022-09-21 09:32:45 +03:00
Jakub Jirutka 771e7bb24f Update dependencies 2022-07-21 02:16:08 +02:00
Sami Vänttinen 5b993d1003 Merge pull request #10 from WhyNotHugo/cleanups
Add support for sandboxed socket path
2022-07-16 08:03:50 +03:00
Sami Vänttinen bf4e913100 Merge pull request #12 from ermshiperete/master
Update readme
2022-06-28 22:10:32 +03:00
Eberhard Beilharz 18cd2a109e Update readme
Add instructions for building a binary without dependencies.
2022-06-28 17:57:31 +02:00
Hugo Osvaldo Barrera a3b7d20122 Add support for sandboxed socket path
Rather than try a single path, try all supported paths, in the preferred
order. This avoids breaking compatibility with previous KeePassXC
versions.

See: https://github.com/keepassxreboot/keepassxc/issues/8018
Fixes: https://github.com/varjolintu/keepassxc-proxy-rust/issues/8
Supercedes: https://github.com/varjolintu/keepassxc-proxy-rust/pull/7
2022-06-02 18:52:49 +02:00
Sami Vänttinen bd10966096 Merge pull request #9 from WhyNotHugo/cleanups
Misc minor cleanups
2022-06-02 17:20:51 +03:00
Hugo Osvaldo Barrera dda48b6f84 Treat buffer size as usize
`usize` is made exactly for this (e.g.: the size of a buffer), and
signatures are a bit more idiomatic.

These changes also try to cast the u32 to a usize as soon as we read it,
and will panic if there is an issue (whereas using `as usize` may result
in silent conversion errors on uncommon architectures.
2022-06-01 18:46:16 +02:00
Hugo Osvaldo Barrera 689db2fcde Simplify if condition 2022-05-30 21:09:14 +02:00
Hugo Osvaldo Barrera df160d90ae Make sure all data is written to socket
Using `write` means that it's possible that not all data gets written
out. Rather than check the return value and write in a loop, just use
`write_all`.
2022-05-30 21:07:30 +02:00
Hugo Osvaldo Barrera b6999f7209 Avoid unecessary late initialisation 2022-05-30 21:06:25 +02:00
varjolintu 338735e6f4 Update to support the latest KeePassXC 2021-01-16 14:39:56 +02:00
varjolintu 211ae91e36 Use TMPDIR with macOS, and set socket SO_SNDBUF and SO_RCVBUF 2018-08-15 14:34:02 +03:00
varjolintu 759507e444 Updated named pipe path 2018-03-12 10:50:16 +02:00
varjolintu 4bc5d09832 Changed maximum buffer size in valid_length() and updated the license text in README 2017-12-03 11:22:13 +02:00
Sami Vänttinen 31fa5bfdf2 Merge pull request #2 from smorks/master
Add Windows Named Pipes
2017-12-03 11:05:30 +02:00
Andy Brandt 7a2298fa12 remove length fix, change max buffer size 2017-12-01 23:08:42 -06:00
andy brandt c7a53e654b use kpxc pipe name in windows 2017-12-01 00:55:52 -06:00
Andy Brandt fcfc22296a refactor with generics 2017-11-30 16:03:28 -06:00
Andy Brandt 14c705359e got it working in both windows & linux 2017-11-30 13:57:32 -06:00
Andy Brandt 5b9d6eac06 add windows named pipe support 2017-11-29 15:42:47 -06:00
varjolintu 6c5f96f407 Unix socket version 2017-11-16 09:31:47 +02:00
varjolintu f364455c10 Cut the buffer before sending 2017-09-23 14:12:20 +03:00
varjolintu 95cf972f5b First version of the proxy 2017-08-12 12:32:25 +03:00
varjolintu a3d63dd010 Initial commit 2017-08-12 12:28:50 +03:00