• 4 Posts
  • 156 Comments
Joined 1 year ago
cake
Cake day: August 11th, 2023

help-circle


  • I am a software developer and work on Kubernetes based project.

    I was given a Mac laptop when I joined. It was a few OS releases behind, because corporate IT didn’t support newer versions.

    Macs have to run some sort of VM to do docker based development.

    VMs are not that great.

    When time came, I requested a Windows laptop. I installed Debian on WSL 2. Then got it to run systemd properly and installed Docker on WSL. Then vscode on windows host with remote ssh into WSL.

    Vscode ssh integration is probably best least known feature of vscode. However, initial connection setup always requires tweaking to get that best experience.

    By the way, official docker setup is through VM on windows. WSL is not a recommended route, but one can get it working.

    This setup beats Mac any day for me.

    I wish I could run Linux on work laptop, but corporate IT doesn’t know how to deal with it.











  • Be aware, that trusted Certificate Authority (CA) configuration applies to ALL certificates issued by CA. Thus, if one elects to trust “actalis” CA, then they trust ALL actalis CA users.

    If the process of obtaining certificate was extremely simple, easy and did not involve identity verification steps, then bad actors can take advantage of this process and create identities that your client application will trust.

    By itself the bad actor identity is of little concern to anybody, but it can have a significant impact if trusted identity is used in spam filtering, exploits of email client bugs or other hack attempts. Trusted users may be given higher access privilege at the client application level, which may be just enough for hacker to gain required access. For example, client application may be configured to trust all trusted senders with MIME attachments. An unknown trusted user sends malicious Application as file attachment. Accidental double click lunches the application without “are you sure?” prompt. Congratulations, machine is pwned.

    The problem is easily mitigated by not importing root CA for easy CAs.


  • What I take issue with actalis, is that they don’t just sign your private key but you actually get the private key from them. It then depends on how much you trust the issuer.

    By definition, that key can no longer be considered “private”.

    It is very important to emphasize that the key in this model is not “private” anymore. Thus, all the communication using this key is not secure anymore.

    Private key is the one generated by hardware owned by the user and immediately secured with strong password. Ideally, private key does not leave the hardware that generated it. Thus, every device shall have its own private key.

    In less restricted model, private key gets copied by the user to other hardware using media like USB stick or P2P communication model that does not use cloud services.


  • Yes, it exists.

    S/MIME requires the receiving side to have its own certificate or, to be more correct, a private key represented by the certificate. The recipient’s certificate needs to be known to the sender. The sender’s certificate needs to be known by the recipient. That’s why S/MIME is not used. It requires configuration on both sides, before it can be used.

    Most people don’t know how to obtain certificate and configure email client with it or don’t bother to obtain certificate even if they know. The same problem exists if PGP is used, even if it is a bit different.

    I will cover S/MIME and PGP because of similarities.

    S/MIME or certificate based solution is supported by many clients, so it is easier on end user than PGP. S/MIME is part of the specification, that’s why good email clients have built-in support. S/MIME problems are all around certificate management: how to obtain certificate (free or not), how to import certificate, how to trust certificate, how to import trusted root of the certificate.

    It is easier to manage keys for free in PGP. PGP has no protocol level support in email clients, so it requires additional handling of underlying content. In effect PGP encrypted messages are injected into text message or sent as email attachments. In both cases PGP content has to be handled by external application (PGP encrypted text or image) or email client specific plug-in.

    The technology is very old for both cases. It has not caught on due to friction of key management for both technologies. PGP has additional problem of content handling.

    S/MIME is perfect if you want to communicate with family or friends as you can ensure everyone in your circle has their own private key. Even in this narrow case, I guarantee you will experience some friction to get this through.

    Organizations can have it easier as they can issue certificates to their users. But then problem of trusted certificate authority comes into play, if they use their authority (every email client or OS running this email client has to import new Trusted Certificate Root, that is hard at ORG level and it gets worse when they have to tell their outside contacts how to work with them). If they use well known authority, they avoid Trusted Cert Root problem, but they have to pay for every user certificate.

    So, you can see how there’s friction in S/MIME solution. IMO, S/MIME is a good solution, but friction made it unrealistic in major use cases.

    At this point I recommend Delta Chat. I am not involved with it. I just like what I see. It is uses PGP technology. In the end it is looks like a modern P2P chat application with all the expected Chat functionality, but it is actually an email client sending PGP encrypted messages over email. Delta chat solved private key creation using built-in key generation. Public key exchange is solved via key exchange protocol. The problem of content attachment is solved by the application itself. Take a look at articles about it https://delta.chat/en/references

    Signal vs Delta Chat. Signal metadata exposes your contacts and probably your time of contact. With Delta Chat you get the same level of meta data exposure: your contact and time of contact are in the open, because underlying protocol is email.

    S/MIME protections. S/MIME keeps the same metadata in the open: contact and time of contact. That’s because S/MIME protects the payload (message body), not the email protocol headers.

    I might be a bit off on how PGP or S/MIME is passed around at SMTP headers level, but overall meaning shall stay the same.



  • Signal runs a service. Even if its source code is open source there’s no guarantee that that’s the code running on the server.

    I don’t know the protocol, but I am concerned of man in the middle and how safe it is from man in the middle. In this case signal servers must be considered to be man in the middle.

    The only system to trust is peer to peer with proven track record of sending encrypted data over public channels.

    That’s PGP and Delta Chat utilizing PGP.





  • Sweet story that omits more than tells

    How did the pilot die during the missile strike?

    It is a sweet story that forgets to mention that this missile strike shut off electricity in multiple regions despite report of 80% interception rate.

    On that day the were multiple leaks of fireballs on the ground. Odessa, for starters.

    Ukraine moved significant amounts of anti-air to protect its Kursk invasion of Russia. The result was a successful missile attack against military assets in Ukraine. One of the losses was F-16 with the pilot. How did he die? Was it long range anti-air hit at an impossible distance even for long range missiles? Or was it a hit on the ground? How far away from front lines?

    Is it that acknowledging hit on the ground is revealing a successful hit of military airfield used to arm F-16? What about all those sweet intercept numbers?

    The way article is written makes reader to think that F-16 was in the air, when it was hit. It is all about the way story was written. However, there’s no actual statement of how or were it was hit.

    Russian unofficial telegram channels reported that F-16 was hit on the ground. F-16 is not stationed in Ukraine, but it gets armed in Ukraine to avoid accusation of direct NATO involvement. So, Russians managed to hit a highly missile protected the furthest away airfield in a time window of short F-16 armament.

    Suddenly the story has a completely different meaning. That’s why it is a sweet story, that omitted more, than told us.

    —-

    Update: today’s telegram says F-16 was shutdown by friendly anti-air fire. Was it western supplied weapons that don’t have friendlies identification?