Andreas Matheus
Andreas Matheus
Can this be done with jose.jwe? I'd say no - unfortunately. I was looking for that option to create a JWE for multiple recipients too...
How about this? ```` if self._algorithm in ['A128GCM', 'A192GCM', 'A256GCM', 'A128GCMKW', 'A192GCMKW', 'A256GCMKW']: #print("generating IV of length 96bit") iv = get_random_bytes(12) else: #print("generating IV of length 128bit") iv = get_random_bytes(16)...
We had an issue with the Qt Cryptographic library due to the varying size of the IV for different key sizes. This pull request uses a fixed size of 16...