Tad Fisher

Results 110 comments of Tad Fisher

I at least have the callback successfully invoked and the hwsecurity UI appearing. Unfortunately, something is wrong with the decryption command; most likely the key data needs to be formatted...

Success! PGPainless has decrypted payloads with an RSA secret key residing on a Yubikey, over both NFC and USB. ECDH keys will take more work, because we require more information...

Ah, that's not the reason the callback is run twice. In `DecryptionStreamFactory#decryptSessionKey`: ```java InputStream decryptedDataStream = publicKeyEncryptedData.getDataStream(decryptorFactory); PGPSessionKey pgpSessionKey = publicKeyEncryptedData.getSessionKey(decryptorFactory); ``` `getDataStream` internally calls `getSessionKey`, so I think BouncyCastle...

@wiktor-k The actual `javax.smartcardio` API isn't available on Android, but there are a couple of backport projects out there on GitHub. The implementation would have to be completely different on...

> AFAIK ECDH decryption requires data that's in user certificate, like KDF (so it cannot operate in principle without user's certificate/public key). I believe @hko-s had some heuristics that try...

In that case, the custom wrapper isn't necessary, because I can just register a factory per keyId. But this makes the API a bit more straightforward.

The compiler plugin does not respect the annotation field order, and always constructs the generated annotation implementation class with the arguments casted to the field types in alphabetic order. A...

`coerceInputValues` also does not work when decoding a collection of enum values, e.g. `List`. This caught us in production today. What would be very nice is a `@SerialFallback` annotation or...

As it is, there is no way to encode a JSON number outside of Kotlin's primitive types, which means that it is impossible to encode a decimal value without inducing...

@samuelchou The problem is in the encoding; even with the lenient flag, serializing will quote the value, which the server then needs to support. There's still no way to encode...