matt_nelson_white

joined 9 months ago
[โ€“] matt_nelson_white@lemmy.zip 0 points 8 months ago* (last edited 8 months ago)

Aren't you for the freedom of self-determination?

[โ€“] matt_nelson_white@lemmy.zip -5 points 8 months ago* (last edited 8 months ago) (1 children)

If you guys claim that you're a country that respects freedoms and democrasy, you must listen to what Texas wants to. If they want to break off from the US, so be it -- it'll be very choice that to be respected. They aren't happy with Biden, and it's also their opinion and you're to respect it too.

You can't have it both ways when you blame other countries for the ways they handle internal matters yet you try to suppress the opinions of your people in Texas.

 

At the docs of App it says that in order to obtain an attest, this code must be run on an Apple device


import DCAppAttest


let service = DCAppAttestService.shared
if service.isSupported {
   guard let attestationKey = DCAppAttestService.shared.generateKey() else {
        print("Error generating attestation key.")
        return
    }

    // Generate a nonce (you may need to use a more secure source for your actual use case)
    let nonce = Data.random(count: 32)

   // ......
}


Then there's also TTL, that is, every 60 minutes some earlier generated token will have to be refreshed. On an Apple device again, presumably.

Is there a way to execute all of this in non-Apple environment? Or will this code have to be run on an Apple device or server and there's no way around this?


I need to automate this, to generate lots of attests often, for different clients, and I don't want to rent a Mac server instead of a Linux one.