Discussion:
A new way to send/receive encrypted messages (anonymously)
(too old to reply)
Stefan Claas
2024-09-21 09:22:03 UTC
Permalink
Hi,

XChaCha20[1] encrypted and encoded message:

https://pollux.nekoweb.org/msg/4.html

key: 5c42a3c290c91c66654b9af5a924057677b691257a24b7e414d028300bd4f6f0
iv: 323bd0dff022a1ebe6a2498045d1051756c97f8aea6f956f

Alice does:

$ enc | nekoweb msg/4.html

Process completed in 5.4404ms

Response: Files uploaded

Bob does:

$ nekoweb -d https://pollux.nekoweb.org/msg/4.html | dec
I wish the a.p.a-s community
a nice weekend! cheers Alice


Process completed in 233.63ms

I you like to know how this is done feel free to ask.
--
Regards
Stefan
Stefan Claas
2024-09-21 09:26:35 UTC
Permalink
Post by Stefan Claas
Hi,
https://pollux.nekoweb.org/msg/4.html
key: 5c42a3c290c91c66654b9af5a924057677b691257a24b7e414d028300bd4f6f0
iv: 323bd0dff022a1ebe6a2498045d1051756c97f8aea6f956f
$ enc | nekoweb msg/4.html
Process completed in 5.4404ms
Response: Files uploaded
$ nekoweb -d https://pollux.nekoweb.org/msg/4.html | dec
I wish the a.p.a-s community
a nice weekend! cheers Alice
Process completed in 233.63ms
I you like to know how this is done feel free to ask.
[1] https://paste.debian.net/1329907/
--
Regards
Stefan
Stefan Claas
2024-09-21 10:49:20 UTC
Permalink
Post by Stefan Claas
Post by Stefan Claas
Hi,
https://pollux.nekoweb.org/msg/4.html
key: 5c42a3c290c91c66654b9af5a924057677b691257a24b7e414d028300bd4f6f0
iv: 323bd0dff022a1ebe6a2498045d1051756c97f8aea6f956f
$ enc | nekoweb msg/4.html
Process completed in 5.4404ms
Response: Files uploaded
$ nekoweb -d https://pollux.nekoweb.org/msg/4.html | dec
I wish the a.p.a-s community
a nice weekend! cheers Alice
Process completed in 233.63ms
I you like to know how this is done feel free to ask.
[1] https://paste.debian.net/1329907/
Reference tools:

https://github.com/706f6c6c7578/nekoweb
https://github.com/706f6c6c7578/hex2img
https://github.com/706f6c6c7578/b2h
https://github.com/706f6c6c7578/xchacha20
--
Regards
Stefan
yeti
2024-09-21 12:05:53 UTC
Permalink
Post by Stefan Claas
https://github.com/706f6c6c7578/b2h
------------------------------------------------------------------------
$ ./b2h < b2h.go | md5sum

Process completed in 171.528µs

8f64289dcb0981a4c4778a3a0d68fa29
$ python3 -c 'from functools import reduce;print(reduce(lambda x,y:x+y,map(lambda c:"%02x"%ord(c),open("b2h.go").read())),end="\r\n")' | md5
8f64289dcb0981a4c4778a3a0d68fa29
$ _
------------------------------------------------------------------------

I should have a look at the differences to MicroPython.

™Somewhen.™

|
\|/
V
--
I do not bite, I just want to play.
Stefan Claas
2024-09-21 14:14:54 UTC
Permalink
Post by yeti
Post by Stefan Claas
https://github.com/706f6c6c7578/b2h
------------------------------------------------------------------------
$ ./b2h < b2h.go | md5sum
Process completed in 171.528µs
8f64289dcb0981a4c4778a3a0d68fa29
$ python3 -c 'from functools import reduce;print(reduce(lambda x,y:x+y,map(lambda c:"%02x"%ord(c),open("b2h.go").read())),end="\r\n")' | md5
8f64289dcb0981a4c4778a3a0d68fa29
$ _
------------------------------------------------------------------------
That's pretty nice and short!
Post by yeti
I should have a look at the differences to MicroPython.
™Somewhen.™
|
\|/
V
MicroPython ... sounds interesting.
--
Regards
Stefan
yeti
2024-09-21 14:38:09 UTC
Permalink
Post by Stefan Claas
MicroPython ... sounds interesting.
In the microcontroller universe, MicroPython often is fast enough and
with such an interactive language you can avoid fat SDKs on PCNannys and
compiling, flashing the µC and such. Lisp. Lua and some other languages
can do that too, but knowledge about Python is more wide spread. So
within a few limits you can run the same code on Nixens and on
microcontrollers.
--
2. Hitchhiker 17: (110) "Careful with that hammer, sir," he said.
Stefan Claas
2024-09-21 15:36:52 UTC
Permalink
Post by yeti
Post by Stefan Claas
MicroPython ... sounds interesting.
In the microcontroller universe, MicroPython often is fast enough and
with such an interactive language you can avoid fat SDKs on PCNannys and
compiling, flashing the µC and such. Lisp. Lua and some other languages
can do that too, but knowledge about Python is more wide spread. So
within a few limits you can run the same code on Nixens and on
microcontrollers.
Thanks for the info!
--
Regards
Stefan
Nomen Nescio
2024-09-22 09:57:38 UTC
Permalink
Post by Stefan Claas
Post by yeti
Post by Stefan Claas
MicroPython ... sounds interesting.
In the microcontroller universe, MicroPython often is fast enough and
with such an interactive language you can avoid fat SDKs on PCNannys
and compiling, flashing the µC and such. Lisp. Lua and some other
languages can do that too, but knowledge about Python is more wide
spread. So within a few limits you can run the same code on Nixens
and on microcontrollers.
Thanks for the info!
Thanks to all. This looks interesting.
Stefan Claas
2024-09-23 16:26:45 UTC
Permalink
Post by Nomen Nescio
Post by Stefan Claas
Post by yeti
Post by Stefan Claas
MicroPython ... sounds interesting.
In the microcontroller universe, MicroPython often is fast enough and
with such an interactive language you can avoid fat SDKs on PCNannys
and compiling, flashing the ??C and such. Lisp. Lua and some other
languages can do that too, but knowledge about Python is more wide
spread. So within a few limits you can run the same code on Nixens
and on microcontrollers.
Thanks for the info!
Thanks to all. This looks interesting.
You're welcome! I developed yesterday another solution, which I call o2o
(Onion2Onion), which allows Alice and Bob very easily to set-up Tor Hidden
Services, a client and server Go program, to exchange data from PC to PC
directly, without using third party servers. Like in the old days when
people exchanged data with 300 baud acoustic modems, via telephone copper
lines. :-) Thus no need for Remailer Messages, Nyms, Bitmessage, pastebins etc.
This works bidirectional and not like IIRC OnionShare, in one direktion.

A sample client session:

C:\Users\xxxxxx\Desktop>client 127.0.0.1:5870 bin secretPassword
Uploading... 100.00%
Server response: File bin successfully uploaded

File uploaded successfully

C:\Users\xxxxxx\Desktop>client -u "Stefan Claas" 127.0.0.1:5870 msg.txt secretPassword
Uploading... 100.00%
Server response: File msg.txt successfully uploaded

File uploaded successfully

Server output:

Server is running on http://localhost:8080
File received: bin at 17:52:10 by Anonymous
File received: msg.txt at 17:52:30 by Stefan Claas

I must prepare a README and once done I fire it up to GitHub.
--
Regards
Stefan
Yamn2 Remailer
2024-09-24 07:38:09 UTC
Permalink
Post by Stefan Claas
You're welcome! I developed yesterday another solution, which I call o2o
(Onion2Onion), which allows Alice and Bob very easily to set-up Tor Hidden
Services, a client and server Go program, to exchange data from PC to PC
directly, without using third party servers. Like in the old days when
people exchanged data with 300 baud acoustic modems, via telephone copper
lines. :-) Thus no need for Remailer Messages, Nyms, Bitmessage, pastebins etc.
This works bidirectional and not like IIRC OnionShare, in one direktion.
<https://danner-net.de/omom/tutortorplusfile.htm>
Stefan Claas
2024-10-05 13:48:02 UTC
Permalink
Post by Stefan Claas
https://github.com/706f6c6c7578/nekoweb
https://github.com/706f6c6c7578/hex2img
https://github.com/706f6c6c7578/b2h
https://github.com/706f6c6c7578/xchacha20
Updated nekoweb with a -T parameter for Tor usage.
--
Regards
Stefan
Loading...