🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #331936

Re: Quantum-Safe Password Generator with Mouse Entropy Collection for Linux

#331936
From: Gabx
Date: Wed, 08 Oct 2025 22:43
119 lines
3719 bytes
Victor wrote:
> A secure password generator that combines multiple layers of cryptographic protection with physical entropy from mouse movements.
> 

Instructions for systems for which I have a PC and an operating 
environment where I can verify correct functioning:

### Debian/Ubuntu

```bash
# Install dependencies
sudo apt-get update
sudo apt-get install golang libx11-dev git

# Clone repository
git clone git@github.com:gabrix73/gensecpass.git
cd gensecpass

# Install Go dependencies
go mod download

# Build
go build -v -o gensecpass gensecpass.go

# Optional: Install to system
sudo cp gensecpass /usr/local/bin/
```

### Arch Linux

```bash
# Install dependencies
sudo pacman -S go libx11 git

# Clone repository
git clone git@github.com:gabrix73/gensecpass.git
cd gensecpass

# Install Go dependencies
go mod download

# Build
go build -v -o gensecpass gensecpass.go

# Optional: Install to system
sudo cp gensecpass /usr/local/bin/
```

### Windows (Cross-Compilation from Linux)

```bash
# Install MinGW cross-compiler
# On Debian/Ubuntu:
sudo apt-get install mingw-w64

# On Arch Linux:
sudo pacman -S mingw-w64-gcc

# Clone repository
git clone git@github.com:gabrix73/gensecpass.git
cd gensecpass

# Install Go dependencies
go mod download

# Cross-compile for Windows
CGO_ENABLED=1 GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc go 
build -v -o gensecpass.exe gensecpass.go
```

**Note for Windows**: The X11 mouse entropy collection requires an X 
server (like VcXsrv or Xming) running on Windows, or use WSL2 with X11 
forwarding.

And,

## Troubleshooting

### "Cannot open X11 display"

**Cause**: DISPLAY environment variable not set or X11 not running.

**Solution**:
```bash
# Check DISPLAY variable
echo $DISPLAY

# If empty, set it (usually :0 or :1)
export DISPLAY=:0

# Verify X11 is running
xdpyinfo | grep "name of display"
```

### "Permission denied" on mouse device

**Cause**: User not in `input` group (if using device raw access).

**Solution**: Not applicable for X11 version (no device access needed).

### Slow entropy collection

**Cause**: Insufficient mouse movement or slow movement patterns.

**Solution**: Move mouse in varied patterns (circles, zigzags, random 
movements).

### "Failed to decrypt"

**Cause**: Wrong passphrase or corrupted file.

**Solution**: Verify passphrase and check file SHA-256 fingerprint.

Merci

Gabx

-- 
0745 074D FEAA 9CB7 62E9  D89D 3E54 F490 F2CC 5A82
Technical Details
Message-ID: <10c6pei$26ueb$1@news.tcpreset.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!news-can.pugleaf.net!news.tcpreset.net!.POSTED!not-for-mail
References: <20251008073030.D613E3E728@mail.tcpreset.net>

Show Full Headers
Complete Article Headers
Message-ID: <10c6pei$26ueb$1@news.tcpreset.net>
Subject: Re: Quantum-Safe Password Generator with Mouse Entropy Collection for Linux
Date: Thu, 9 Oct 2025 00:43:26 +0200
From: Gabx <info@tcpreset.invalid>
References: <20251008073030.D613E3E728@mail.tcpreset.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!news-can.pugleaf.net!news.tcpreset.net!.POSTED!not-for-mail
Newsgroups: alt.privacy.anon-server,alt.privacy,sci.crypt
Organization: Victor Hostile Communication Center 1312
Reply-To: virebent@tcpreset.invalid
NNTP-Posting-Host: c3066ed76bae8bcc0e476efb157ff758
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 8 Oct 2025 22:43:30 -0000 (UTC)
Injection-Info: news.tcpreset.net;
	logging-data="2324939"; mail-complaints-to="abuse@tcpreset.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101
 Firefox/128.0 SeaMonkey/2.53.21
In-Reply-To: <20251008073030.D613E3E728@mail.tcpreset.net>