Annoyances

Problem: Command mention the following:

Failed to set locale, defaulting to C.UTF-8.

Solution: Install a langpack matching your locale.

$ echo $LANG
en_US.UTF-8
$ sudo dnf install glibc-langpack-en

Problem: (ssh) no matching key exchange method found.

Unable to negotiate with 1.2.3.4 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

Solution: OpenSSH: Legacy Options.

$ ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 1.2.3.4

About legacy key exchange:


Problem: Font anti-alising in Java applications.

Solution.

_JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd'

$ flatpak run --env=_JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd' com.github.reds.LogisimEvolution

Problem: RSA SHA-1 key.

$ git pull
ERROR: You're using an RSA key with SHA-1, which is no longer allowed. Please use a newer client or a different key type.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

Solution.

$ ssh-keygen -t ed25519
$ ssh-keygen -t rsa -b 4096

Add public key id_ed25519.pub to GitHub SSH and GPG keys.


Problem: macOS notarization.

With the introduction of macOS 10.15 (Catalina) Apple introduced new notarization requirements that all software must be signed and notarized centrally.

A problem with notarization will manifest itself through a security dialogue appearing, explaining that the source of the program is not trusted.

Solution.

To bypass the notarization requirement on macOS, you can run the following command in a terminal:

$ xattr -r -d com.apple.quarantine /path/to/binary