Marko Friedemann

Results 8 comments of Marko Friedemann

As dhirschfeld pointed out, trying to second guess possible reasons isn't a very useful approach. To make it easier for you, SofianeB, you can directly check which changes have actually...

I've found the culprit in CertManager.DecryptMsg(). You are calling [EnvelopedCms.Decrypt(X509Certificate2Collection)](https://docs.microsoft.com/de-de/dotnet/api/system.security.cryptography.pkcs.envelopedcms.decrypt?view=netframework-4.7.2#System_Security_Cryptography_Pkcs_EnvelopedCms_Decrypt_System_Security_Cryptography_X509Certificates_X509Certificate2Collection_) with a store explicitly initialized for the current user as `new X509Store(StoreName.My, StoreLocation.CurrentUser)`. As detailed in [this answer](https://stackoverflow.com/a/32141402), > if...

I checked that 1.4b and it doesn't work, unfortunately. BUT the strange thing is that even with my small test, it fails more often than it works (it DOES work...

After taking a peek at the source of EnvelopeCms, I... seriously doubt it is fit for public use. Their "API" seems a mess, the docs are unclear, not to say...

Success! After poking some more, it appears to work when changing the encryption algorithm to AES256-CBC OID "2.16.840.1.101.3.4.1.42" (default is DES-EDE3-CBC OID "1.2.840.113549.3.7"). It also works for both variants (with...

As I said, the EnvelopedCms class appears unfinished and behaves strangely (not to mention the terrible documentation). In contrast to the post you linked (which I had a found as...

Hey, yes, there are mappers for List and Map, and I just tested them, using the same example (thanks, BTW, for reminding me of the need to change that to...

OK, so, using the [@Type](/komma/komma/blob/master/bundles/core/net.enilink.composition.properties/src/main/java/net/enilink/composition/properties/annotations/Type.java) annotation works for `List`s like shown above. There are some issues for `Map`, especially when the entry key/value are referencing other mapped entities. I can...