I recently had to decrypt a PGP/S-MIME encrypted mail. It’s been a long time since I was confronted with that format, and KDE’s Kontact does not seem to support this out of the box– actually only Thunderbird seems to do, and that’s not on my machines. Here’s what I did.
This Mail came in.
With the right PGP-Key I could decrypt it:
Upsii… there’s another encrypted file in there, exactly as the standard RFC from 2001 defines – this way even attachments are hidden from those that don’t have the private PGP key.
Since KDE’s crypto engine couldn’t help, and Thunderbird is not configured on my machines, I went to the command line. I saved the attachment “encrypted.asc” and ran the command “gpg –output uncrypted.asc –decrypt encrypted.asc“:
mfeilner@alquarismi:~/Downloads> gpg –output uncrypted.asc –decrypt encrypted.asc
gpg: WARNUNG: Unsichere Zugriffsrechte des Home-Verzeichnis `/home/mfeilner/.gnupg’
gpg: verschlüsselt mit 4096-Bit RSA Schlüssel, ID XXXXXXXXXXXXXXXXX, erzeugt 2015-04-24
gpg: verschlüsselt mit 2048-Bit RSA Schlüssel, ID XXXXXXXXXXXXXXXXX, erzeugt 2018-12-25
… and that way I got a file named uncrypted.asc that I could open with my favorite text editor or emacs.
“How individuals with dark personality traits react to COVID-19 – People high in narcissism and psychopathy were less likely to engage in cleaning behaviors. People with narcissism have a negative response to the pandemic as it restricts their ability to exploit others within the social system.: science”
How individuals with dark personality traits react to COVID-19 – People high in narcissism and psychopathy were less likely to engage in cleaning behaviors. People with narcissism have a negative response to the pandemic as it restricts their ability to exploit others within the social system. from science
Since early 2020 I’ve been telling my friends that I doubt there is a back to pre-corona thing. And I told them this is a stress test for societies, health systems, but also for the variety of authoritarian systems or non-authoritarism. I didn’t foresee that China and some Asia countries can party again while the free western world is locked in, but who would?
Has a year of living with Covid-19 rewired our brains? | World news | The Guardian
“People talk about the return to normality, and I don’t think that is going to happen,” says Frank Snowden, a historian of pandemics at Yale, and the author of Epidemics and Society: From the Black Death to the Present. Snowden has spent 40 years studying pandemics. Then last spring, just as his phone was going crazy with people wanting to know if history could shed light on Covid-19, his life’s work landed in his lap. He caught the coronavirus. Snowden believes that Covid-19 was not a random event. All pandemics “afflict societies through the specific vulnerabilities people have created by their relationships with the environment, other species, and each other,” he says. Each pandemic has its own properties, and this one – a bit like the bubonic plague – affects mental health. Snowden sees a second pandemic coming “in the train of the Covid-19 first pandemic … [a] psychological pandemic”.
“Loss of smell can be life-changing; it removes an important part of your sense of self,” says Chrissi Kelly, founder of the UK-based charity AbScent, which supports people who have lost the ability to smell. “Smell signals give depth to our social interactions. Erase all that, and your experience of the world is two-dimensional.”
Awesome Arches pic with full moon is staring at me from my #KDE background. I like the extension that serves me new pics every day, like those from NASA from Zachery Cooley.
#Linux has some mighty PDF Toolkits. One of them is pdftk. I am using it so that we don’t have to bother anymore about orientation of Files on the scanner. We just delete the wrong ones. 🙂
!/bin/bash(use the right upticks ` in the basename line, wordpress messes them up…)
ls *pdf -1 > $INFILE
while IFS=”²” read -r line
'basename $line | rev | cut -c 5- | rev‘
pdftk “$line” cat 1-endwest output “$PDF”_left.pdf
pdftk “$line” cat 1-endeast output “$PDF”_right
pdftk “$line” cat 1-endsouth output “$PDF”_upsidedown.pdf
Spoiler: Donwilhelmsit hat eine lange Reise hinter sich, durchs ganze Sonnensystem und wieder zurück zu Erde. Was ich nicht verstehe: Ich dachte, der Mond war ein Teil der Erde?
Unbekanntes Mineral in Mondgestein gefunden – DER SPIEGEL
Das Pandemiezeitalter muss nicht kommen – Gesundheit – SZ.de
“Wenn wir nicht rasch gegensteuern, werden wir schon sehr bald wesentlich öfter Pandemien erleben, die sich noch schneller ausbreiten als Covid-19, noch tödlicher verlaufen und die globale Wirtschaft in noch tiefere Krisen stürzen, als wir sie jetzt erleben.”
“Unsere derzeitigen anthropogenen Emissionen sind jedoch etwa 14-mal
höher als die Spitzenemissionen während des Aussterbens”, gibt Jurikova
zu bedenken. “Tausend Jahre sind erdgeschichtlich gesehen gar nichts”,
so Forscherin. “Die rund 200 Jahre seit der Industrialisierung hingegen
sind ein winziger Zeitraum für derart große Mengen an CO₂.”
Groundbreaking study finds 13.3 quadrillion plastic fibers in California’s environment | US news | The Guardian
A study in California has laid bare the staggering scale of pollution from plastic microfibers in synthetic clothing – one of the most widespread, yet largely invisible, forms of plastic waste.
‘There’s a whole war going on’: the film tracing a decade of cyber-attacks | Documentary films | The Guardian
In under an hour and a half, The Perfect Weapon blisters through the proliferation of cyberwarfare in the last decade-plus: how offensive ransomware and disinformation campaigns have morphed from a undercover sideshow – as late as 2007, cyberwarfare was not even listed as a pressing concern on the US military’s threat assessment – into a relatively cheap, accessible and potentially devastating staple of international relations.
Deep learning to translate between programming languages
We’ve developed and open sourced TransCoder , an entirely self-supervised neural transcompiler system that can make code migration far easier and more efficient. Our method is the first AI system able to translate code from one programming language to another without requiring parallel data for training. We’ve demonstrated that TransCoder can successfully translate functions between C++, Java, and Python 3. TransCoder outperforms open source and commercial rule-based translation programs. In our evaluations, the model correctly translates more than 90 percent of Java functions to C++, 74.8 percent of C++ functions to Java, and 68.7 percent of functions from Java to Python. In comparison, a commercially available tool translates only 61.0 percent of functions correctly from C++ to Java, and an open source translator is accurate for only 38.3 percent of Java functions translated into C++.