ProtonDriveSync
ProtonDriveSync copied to clipboard
Cannot build the plugin
Following #18, I am trying to build the plugin (first on Windows before I move to Android). I cannot build because in the line
PgpEncryptedDataGenerator.PubMethod pubMeth = (PgpEncryptedDataGenerator.PubMethod)pk.methods[0];
PubMethod is a private class and thus cannot be accessed. I am using BouncyCastle.Cryptography.2.6.1 (also tried 2.4.0 and others) and PgpCore 5.10.
The .csproj file is not specific regarding the BouncyCastle version:
<Reference Include="BouncyCastle.Cryptography, Version=2.0.0.0, Culture=neutral, PublicKeyToken=072edcf4a5328938, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\BouncyCastle.Cryptography\net461\BouncyCastle.Cryptography.dll</HintPath>
</Reference>
Can you make this explicit or post here which version you are using?
Thank you!
Hi 👋
If I remember correctly I actually recompiled the dependency after switching some classes to public. Not ideal but I didn't know of any better solution at the time...