Login
You're viewing the ruby.social public feed.

Replies

  • May 27, 2023, 8:00 AM

    Day 2 of the #OpenPGP Summit has begun. We are now summarizing potential session topics in preparation to vote on them.

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • May 27, 2023, 8:56 AM

    Authentication is the process of relating keys with entities (what is Bob's key?).

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • May 27, 2023, 9:56 AM

    Now there are two sessions, "Permanent Decryption / Symmetric Reencryption" and "Intended Recipient Subpacket".

    💬 0🔄 0⭐ 0
  • May 27, 2023, 9:58 AM

    With historic email archives, there is the issue that keys might be rotated, so you need to keep old secret keys around to have access to old encrypted emails.

    Further, we might want to be able to search through encrypted emails.

    💬 0🔄 0⭐ 0
  • May 27, 2023, 10:00 AM

    Another reason why symmetric-reencryption might be useful is the menace of quantum computing. Asymmetrically encrypted messages will become "breakable" in the future, so reencrypting messages encrypted for obsoleted algorithms might solve this issue.

    💬 0🔄 0⭐ 0
  • May 27, 2023, 10:03 AM

    When reencrypting messages, we need to record that signatures made by obsolete algorithms were verified when they were good.
    BUT: What if a key gets hard-revoked?

    💬 0🔄 0⭐ 0
  • May 27, 2023, 10:05 AM

    Also, what if the revocation is hard and backdated (e.g. the default revocation certificate generated by OpenPGP software, which is "compromized").

    💬 0🔄 0⭐ 0
  • May 27, 2023, 10:08 AM

    Now discussing possible solutions.
    If you have a message encrypted for a weak DSA key, you can remove the PKESK packet and replace it with some sort of symmetric-key PKESK packet (not yet standardized). Then, if you delete the PKESK from e.g. your IMAP archive (and given nobody has made a secret copy of the original message), it is no longer possible to brute force the DSA key to get to the message content.

    💬 0🔄 0⭐ 0
  • May 27, 2023, 10:11 AM

    Signatures can be replaced with HMAC/KMAC checksums, which should also be quantum safe.

    💬 0🔄 0⭐ 0
  • May 27, 2023, 10:13 AM

    Why not just re-encrypt the message with a SKESK instead of a PKESK?
    - SKESK has no key-id
    - SKESKs are used for passwords, so you cannot distinguish "password-encrypted" messages with symmetrically reencrypted ones.

    💬 0🔄 0⭐ 0
  • May 27, 2023, 10:16 AM

    PKESK has the better semantics for what we want to do.
    "This message is encrypted with this (symmetric) key that you can find here."

    💬 0🔄 0⭐ 0
  • May 27, 2023, 10:18 AM

    Idea: Rename the current packets:
    PKESK (Public-Key Encrypted Session Key Packet) -> Key-Encrypted Session Key Packet
    SKESK (Symmetric-Key Encrypted Session Key Packet) -> Password-Encrypted Session Key Packet

    This would better match what we actually do.

    💬 0🔄 0⭐ 0
  • May 27, 2023, 10:22 AM

    About searching across inbox / archive:
    It is not feasible to store a secure search index on the server-side without leaking data.
    => Must have full copy of history inbox locally.

    Server-side search is infeasible.

    💬 0🔄 0⭐ 0
  • May 27, 2023, 10:24 AM

    Issue: Each client would need to build their own search index, unless you can sync the index from one client to another.

    @thunderbird does re-download all message to re-build the index on a new installation.

    💬 0🔄 0⭐ 0
  • May 27, 2023, 10:26 AM

    Reencryption is no limited to symmetric reencryption. You could also reencrypt old messages to your new public key by simply replacing the old PKESK packets.

    💬 0🔄 0⭐ 0
  • May 27, 2023, 10:30 AM

    Symmtric Reencryption solves:
    * Replacing uses of legacy algorithms
    * Replaced keys / Key rollover
    * Improved decryption performance

    Asymmetric Reencryption solves all of the above, except the improved decryption performance (PQC algorithms might decrease decryption performance actually).

    💬 0🔄 0⭐ 0
  • May 27, 2023, 10:33 AM

    Another approach to the discussed issues are having a session key cache.
    This comes with its own set of pros and cons.

    💬 0🔄 0⭐ 0
  • May 27, 2023, 10:53 AM

    Reencrypting messages with a new key (symmetric or asymmetric) might break signatures containing an intended recipient subpacket (which was just discussed in a parallel session).

    Now its time to report back and have lunch after that.

    💬 0🔄 0⭐ 0
  • May 27, 2023, 11:02 AM

    The other session talked about the intended recipient subpacket.
    The outcome is that it is not yet fully clear how to interpret the signals the intended recipients subpacket gives.

    How to deal with recipient mismatches?

    💬 0🔄 0⭐ 0
  • May 27, 2023, 11:03 AM

    Some things the packet tries to accomplish, it currently does not do quite right. It is not fully well-defined to suite certain use-cases and might need rework.

    💬 0🔄 0⭐ 0
  • May 27, 2023, 11:04 AM

    Conclusion: we did not get the intended recipient subpacket quite right.

    💬 0🔄 0⭐ 0