Skip to content

Commit

Permalink
Merge pull request #38 from vmonaco/dev
Browse files Browse the repository at this point in the history
Multi-device support and multiple bug fixes
  • Loading branch information
vmonaco committed Aug 16, 2023
2 parents 2a3a45b + f171889 commit d343f5e
Show file tree
Hide file tree
Showing 17 changed files with 896 additions and 535 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -3,7 +3,7 @@
all : kloak eventcap

kloak : src/main.c src/keycodes.c src/keycodes.h
gcc src/main.c src/keycodes.c -o kloak -lm -lpthread $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
gcc src/main.c src/keycodes.c -o kloak -lm $(shell pkg-config --cflags --libs libevdev) $(shell pkg-config --cflags --libs libsodium) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)

eventcap : src/eventcap.c
gcc src/eventcap.c -o eventcap $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
Expand Down
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -134,8 +134,7 @@ The full usage and options are:

Usage: kloak [options]
Options:
-r filename: device file to read events from
-w filename: device file to write events to (should be uinput)
-r filename: device file to read events from. Can specify multiple -r options.
-d delay: maximum delay (milliseconds) of released events. Default 100.
-s startup_timeout: time to wait (milliseconds) before startup. Default 100.
-k csv_string: csv list of rescue key names to exit kloak in case the
Expand Down
19 changes: 11 additions & 8 deletions README_generic.md
Expand Up @@ -5,26 +5,27 @@ A keystroke-level online anonymization kernel.
A privacy tool that makes keystroke biometrics less effective. This
is accomplished by obfuscating the time intervals between key press and
release events, which are typically used for identification.

## How to install `kloak` using apt-get ##

1\. Download Whonix's Signing Key.
1\. Download the APT Signing Key.

```
wget https://www.whonix.org/patrick.asc
wget https://www.whonix.org/keys/derivative.asc
```

Users can [check Whonix Signing Key](https://www.whonix.org/wiki/Whonix_Signing_Key) for better security.
Users can [check the Signing Key](https://www.whonix.org/wiki/Signing_Key) for better security.

2\. Add Whonix's signing key.
2\. Add the APT Signing Key.

```
sudo cp ~/derivative.asc /usr/share/keyrings/derivative.asc
```

3\. Add Whonix's APT repository.
3\. Add the derivative repository.

```
echo "deb [signed-by=/usr/share/keyrings/derivative.asc] https://deb.whonix.org bullseye main contrib non-free" | sudo tee /etc/apt/sources.list.d/derivative.list
echo "deb [signed-by=/usr/share/keyrings/derivative.asc] https://deb.whonix.org bookworm main contrib non-free" | sudo tee /etc/apt/sources.list.d/derivative.list
```

4\. Update your package lists.
Expand All @@ -47,15 +48,17 @@ Can be build using standard Debian package build tools such as:
dpkg-buildpackage -b
```

See instructions. (Replace `generic-package` with the actual name of this package `kloak`.)
See instructions.

NOTE: Replace `generic-package` with the actual name of this package `kloak`.

* **A)** [easy](https://www.whonix.org/wiki/Dev/Build_Documentation/generic-package/easy), _OR_
* **B)** [including verifying software signatures](https://www.whonix.org/wiki/Dev/Build_Documentation/generic-package)

## Contact ##

* [Free Forum Support](https://forums.whonix.org)
* [Professional Support](https://www.whonix.org/wiki/Professional_Support)
* [Premium Support](https://www.whonix.org/wiki/Premium_Support)

## Donate ##

Expand Down

0 comments on commit d343f5e

Please sign in to comment.