arne

uplegger.eu

No description provided.

In-reply-to » @prologic In few weeks for sure, I have a couple of features in mind that I would like to implement (DM extension for example but I'll ask for permission to @arne to use his PoC or ask him to contribute to twtxtory directly)

@javivf@adn.org.es Go for it! You’re free to use it.
It’s been a community adventure to explore the whole DM/encryption thing. So the community can do with it whatever they want. 😎

​ Read More

In dieser Woche ist ein kleiner Home-Server bei uns eingezogen.
Meinen fakeTuner fĂŒr das Sagem KĂŒchenradio habe ich schon dorthin portiert. Gerade spiele ich mit icecast2 und ezstream herum. Die MP3-Sammlung ist bereits im KĂŒchenradio angekommen. Jetzt fehlt nur noch ein kleines Webinterface fĂŒr die einfache Steuerung.

​ Read More

Puh, eine Woche StĂ€dteurlaub in Dublin. Das schafft - vor allem die Leber! đŸ»đŸ„ƒ
Viele EindrĂŒcke, GegensĂ€tze und wunderbare Menschen.
Jetzt heißt es wieder: Im Alltag ankommen.

​ Read More

“A Gamut Of Games” von Sid Sackson ist ein Buch ĂŒber “andere” Spiele. Ich konnte die Tage einige davon ausprobieren: “Lines of Action” (LoA), “Three Musketeers” und “Network”. Alle haben, fĂŒr mich, wunderbar frische Spielmechaniken.
Beim Lesen meine ich, bei einigen anderen Spielbeschreibungen, Vorlagen fĂŒr das Spiel “Tak - ein schönes Spiel” entdeckt zu haben. Live is Remix!

​ Read More
In-reply-to » I watched two squirrels this morning for about half an hour: https://lyse.isobeef.org/eichhoernchen-2025-03-11/ They were super crazy fast. Also, they bit off plenty of twigs and carried them around, not sure where they put them. I've never seen them do that before. Once more I realized that I need a better zoom.

@lyse@lyse.isobeef.org Bei mir heißen Eichhörnchen immer “Eberhardt” (unisex). Den Tierchen könnte ich stundenlang zuschauen.
Trotz “ZoomschwĂ€che”: Tolle Bilder.

​ Read More

Ich fahre gleich zwei Stunden mit dem Zug durch das sonnige Mecklenburg-Vorpommern, um morgen PÜNKTLICH 🐓 mit den Schwiegereltern zur Familienfeier nach ThĂŒringen aufbrechen zu können.
Ein Wochenende auf Achse wird das. 🚞🚐😞

​ Read More
In-reply-to » Du brauchst schon fast keine AfD mehr, wenn du Medien (ÖR!) hast, die so die Interviews fĂŒhren: https://www.deutschlandfunk.de/interview-mit-bodo-ramelow-linke-ex-ministerpraesident-thueringen-zur-wahl-100.html

@movq@www.uninformativ.de Dem Ramelow platzt da ja fast die Hutschnur - verstÀndlicher Weise.
uebermedien schreibt:

Den Linken-Politiker Bodo Ramelow traktierte Moderator Dirk MĂŒller mit plumpen Provokationen. Der AfD-Politikerin Beatrix von Storch rollte er einen VerstĂ€ndnis-Flokati aus.
Es war eine verstörende Demonstration politischer Schieflage.

Der Interviewer (Dirk MĂŒller) scheint mir auch nicht ganz koscher. Meine Filterblase wirft zu Ihm Lobhudeleien aus dem versprengten Sektor.

​ Read More

Gestern war Bundestagswahl. In Mecklenburg-Vorpommern haben die Ewiggestrigen die meisten Stimmen erhalten. Das betrĂŒbt mich und macht mich nachdenklich.

​ Read More

Heute waren das Ziehkind und ich zwei Stunden lang auf drei SpielplĂ€tzen und quer durch die Stadt unterwegs. Ein riesiger Spaß!
Vorab habe ich im hiesigen Spielzeugladen ein Konvolut von Klemmbausteinen erstanden, welche wohl zu einer Polizeistation gehörten!?

Image

​ Read More
In-reply-to » So, are we muting/blocking the "DMers"? I am starting a list, and I am checking it twice.

@bender@twtxt.net Don’t panic. I’ve just been testing my implementation. The great advantage of Twtxt is it’s openness, I think. So DM spamming would contradict to this feature I like. ❀

​ Read More
In-reply-to » Very sunny 16°C, heaps of people outside. As soon as we were a bit further into the forest, we had it completely for us. From the foot we thought that the view might be rather good, but up at the summit, it turned out to be very hazy. Oh well. Surprisingly, I found four skyrocket sticks in premium quality. More than after New Year! Also, we came across two deer. It was a very nice two hours walk. No photos, though, sorry.

@lyse@lyse.isobeef.org The best part is: “I found four skyrocket sticks in premium quality.” 🎇 One can never has enough skyroket sticks!

​ Read More
In-reply-to » here is my progress so far: https://github.com/eapl-gemugami/twtxt-direct-message-php The encryption part seems to work, if I decrypt it the message with OpenSSL. I think it can help you for some key parts not well explained in OpenSSL documentation.

@eapl.me@eapl.me @andros@twtxt.andros.dev Eureka! It works! https://github.com/upputter/testing-twtxt-dm
PBKDF2_KEY_SIZE = 48 was the turning point! My dirty little crypt.class.php can en- and decrypt, accoridng to the OpenSSL standard and options used in https://twtxt.dev/exts/direct-message.html

​ Read More
In-reply-to » here is my progress so far: https://github.com/eapl-gemugami/twtxt-direct-message-php The encryption part seems to work, if I decrypt it the message with OpenSSL. I think it can help you for some key parts not well explained in OpenSSL documentation.

@eapl.me@eapl.me Nope, I switched to the openssl library in PHP. But our rubberducking 🩆 seems to be working. Your find https://crypto.stackexchange.com/a/79855 for the IV generation may be the breakthrough 


​ Read More
In-reply-to » @eapl.me Here is what I've got so far: https://github.com/upputter/testing-twtxt-dm

@arne@uplegger.eu Here are the results of the german jury:

Known salt (B64): Tb9oj07UhwU= (8)
Known key (B64): MII0yj+MC0mHNx254Voar80bi9P7jmocs0+x+inaxBE=
Known iv (B64): l/PvkDjOKMFZe73KptrvWw== (16)
Shared Key (B64): ql8zvN03p6kroSwNrcKbxk4zSBQFkgQZEumvqVIDMAE=
** DECRYPT **
Encrypted Message: ...
Decoded Salt (B64): Tb9oj07UhwU= (8)
PBKDF2 KEY (B64): MII0yj+MC0mHNx254Voar80bi9P7jmocs0+x+inaxBE=
iv (B64): JanbU1jI30lb6yfjq/adjA== (16)
Decrypted Message: 

😭

​ Read More
In-reply-to » trying to implement it quickly, I get the same questions than you ```

@eapl.me@eapl.me Here is what I’ve got so far: https://github.com/upputter/testing-twtxt-dm

There is a “00_well_known_message.enc” file, which I have the encryption paremters for (https://github.com/upputter/testing-twtxt-dm/blob/9fdf3be6aa8fe810a4cb275375dbb3d4a2a958ee/wellknown_test.php#L28).

According to my finding, I assume, that the saltsize in openssl is “8” and the PBKDF2 algo is “sha256”.

​ Read More
In-reply-to » @arne Well, just for my understanding. The command: echo "Lorem ipsum" | openssl enc -aes-256-cbc -pbkdf2 -iter 100000 -out message.enc -pass file:shared_key.bin will take the input string from echo to openssl. It then will

@arne@uplegger.eu With the OpenSSL option -p one can get an output of salt, key and iv. My stupid PHP-code can get everything right from the encrypted data (from OpenSSL) - except the iv! Damn “evpKDF” 😔

​ Read More
In-reply-to » @andros I have really tried to get behind it. For an implementation for my TwtxtReader (PHP) I simply lack the knowledge of the standard-openssl parameters. All my solution approaches require “nonce” or “initialization vector” on one or the other side. In addition, the “magic numbers” (“Salted__”) were not consistent in my tests.

@arne@uplegger.eu Well, just for my understanding. The command:
echo "Lorem ipsum" | openssl enc -aes-256-cbc -pbkdf2 -iter 100000 -out message.enc -pass file:shared_key.bin
will take the input string from echo to openssl. It then will

  1. use the content of shared_key.bin as password
  2. use PBKDF2 with an iteration of 100000 to generate a encryption key from the given password (shared_key.bin)
  3. use the PBKDF2 generated key for an aes-256-cbc encryption

The final result is encrypted data with the prepended salt (which was generated by runtime), e.g.: Salted__qïżœ;ïżœïżœ-ïżœTïżœïżœïżœ"h%ïżœïżœ5ïżœïżœ ....

With a dummy script I now can generate a valide shared key within PHP ‘openssl_pkey_derive()’ - identical to OpenSSL.
I also can en-/decrypt salted data within my script, but not with OpenSSL. There are several parameters of PBKDF2 unknown to me.

Question:

  1. Is the salt, used by aes-256-cbc and PBKDF2 the same, prepended in the encrypted data?
  2. Witch algorithm/cipher is used within PBKDF2: sha1, sha256, 
?
  3. What is the desired key length of PBKDF2 (https://www.php.net/manual/en/function.openssl-pbkdf2.php)?

To be continued 


​ Read More
In-reply-to » @andros I have really tried to get behind it. For an implementation for my TwtxtReader (PHP) I simply lack the knowledge of the standard-openssl parameters. All my solution approaches require “nonce” or “initialization vector” on one or the other side. In addition, the “magic numbers” (“Salted__”) were not consistent in my tests.

@arne@uplegger.eu

Image

If I keep the “nonce”, I can decrypt a message with the shared key, like in the direct message specs.
But that is not how it should work. 😒

​ Read More
In-reply-to » Today is an important day. We have a new extension: Direct message đŸȘ‡đŸ—šïžđŸš€đŸ„łâ€ïž https://twtxt.dev/exts/direct-message.html #twtxt

@andros@twtxt.andros.dev I have really tried to get behind it. For an implementation for my TwtxtReader (PHP) I simply lack the knowledge of the standard-openssl parameters.
All my solution approaches require “nonce” or “initialization vector” on one or the other side. In addition, the “magic numbers” (“Salted__”) were not consistent in my tests.

​ Read More
In-reply-to » @arne Der Real-O-Mat ging neulich auch rum: https://real-o-mat.de/ (Ändert bei mir im Ergebnis nix, die Antworten/BegrĂŒndungen sind aber interessant(er).)

@movq@www.uninformativ.de Schön mal noch eine Querreferenz zu haben. Danke!
Beide O-Maten haben Ă€hnlich Ergebnisse fĂŒr mich. Das bestĂ€tig mich in meiner bereits getroffenen Wahlentscheidung fĂŒr den 23. Februar.

​ Read More
In-reply-to » To all my EU friends out there, is it this hardℱ to reach a human in European companies that allow, perform or permit silly shenanigans? đŸ€” Or is it just US companies? đŸ€”

@prologic@twtxt.net In the EU there are Laws, Rules and Regulations for many things. I’m not an expert, but your case may sound like it could match to the EU Digital Services Act.

[
] for example, the obligation to establish points of contact for authorities and citizens [
]

​ Read More

Es ist Freitagnachmittag, vor den Winterferien. Was kommt da gelegener als ein teilweiser Ausfall der dienstlichen Netzwerkinfrastruktur? đŸ•ș

​ Read More
In-reply-to » @arne Ohjemine, TYPO3! O_o Lass mich schreiend davonlaufen!

@lyse@lyse.isobeef.org Es ist immer noch so Ă€hnlich. Da kommen so viele verschiedene Ebenen innerhalb und außerhalb der TYPO3-Umgebung zusammen, dass man sich wundert.

Und die TYPO3-Core-Entwickler nehmen gefĂŒhlt jeden fancy Shice mit, den sie gerade finden. Das reißt dann immer wieder Prozesse ein oder es muss ein gigantischer Aufwand betrieben werden, damit “grundlegende” Funktionen wieder hergestellt werden.
In den Kommentaren ist dann immer nur zu lesen “Tja, Pech. Gibt’s nicht mehr. Sei froh, dass wir ‘ne undokumentierte Schnittstelle dazu im Code versteckt haben. Bau’s dir selbst.”
Und der OpenSource-Gedanke ist bei einigen Erweiterungen (die als Quasi-Standard gelten) auch nur noch zu erahnen. Da mĂŒssen teilweise Abos abgeschlossen werden, damit einige Funktionen genutzt werden können.

Es wird auf jeden Fall nie langweilig.

​ Read More