ArmoredOutputStream showing v@RELEASE_NAME@ #1853
Replies: 1 comment 5 replies
-
Yep, this is a bug - the 1.8 and later build is now built exclusively by gradle, the main reason being we need to use the OSGI plugin to support OSGI multi-release files. I'll admit it's a bit neater as well... anyway, seems this particular item got missed. Have a look at https://downloads.bouncycastle.org/betas the version of bcpg should now report the correct string if you run:
Note: the trend now is to not report version information in the files directly as there are concerns the information makes it too easy to pick out vulnerable files. There is also an ArmoredOutputStream.Builder class which provides more control over the headers (this was added in 1.76 so you should find it works for you now). Any questions please let me know. |
Beta Was this translation helpful? Give feedback.
-
How can I get rid of the v@RELEASE_NAME@ in this code or is this a bug? I'm using bcpg-jdk18on, bcprov-jdk18on, bcutil-jdk18on release 1.78.1
Do I need to explicitly set the version? Shouldn't it infer from the maven version?
Beta Was this translation helpful? Give feedback.
All reactions