• 0 Posts
  • 79 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle

  • OP: “typescript is easy and rust is ugly”

    Typescript :

    export type PayloadActionCreator<
      P = void,
      T extends string = string,
      PA extends PrepareAction<P> | void = void
    > = IfPrepareActionMethodProvided<
      PA,
      _ActionCreatorWithPreparedPayload<PA, T>,
      // else
      IsAny<
        P,
        ActionCreatorWithPayload<any, T>,
        IsUnknownOrNonInferrable<
          P,
          ActionCreatorWithNonInferrablePayload<T>,
          // else
          IfVoid<
            P,
            ActionCreatorWithoutPayload<T>,
            // else
            IfMaybeUndefined<
              P,
              ActionCreatorWithOptionalPayload<P, T>,
              // else
              ActionCreatorWithPayload<P, T>
            >
          >
        >
      >
    >
    











  • Got in touch with ProtonVPN support and asked about this. Here’s their reply:

    Our engineers have conducted a thorough analysis of this threat, reconstructed it experimentally, and tested it on Proton VPN.

    We concluded that:

    1. The attack can only be carried out if the local network itself is compromised
    2. Our Windows and Android apps are protected against it
    3. For iOS and macOS apps, you are completely protected from this as long as you’re using a Kill Switch and a WireGuard-based protocol (our apps use them by default, and if a user wants to use something other than WireGuard derivates, they’d have to manually set it up). Note that Stealth, WireGuard TCP and Smart protocol on iOS/macOS are all WireGuard-based.
    4. For our Linux app, we’re working on a fix that would provide full protection against it.