Comments (7)
Do you know if you have the "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files" installed?
from java.
I got the same problem, installing "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files" from Oracle to <java_home>/lib/security didn't help.
Problem can be fixed by changing
@Test(expected = BadPaddingException.class)
to
@Test(expected = InvalidKeyException.class)
on the failing test.
I'm not familiar with the javax.crypto.Cipher class, but it doesn't seem unreasonable to throw an InvalidKeyException when an incorrect key size is used.
from java.
Which platform/OS are you running @pkuijpers?
from java.
OK, it seems that InvalidKeyException is thrown on Windows ... and BadPaddingException is thrown on Mac and Linux. Hmmm...
from java.
This (plus another failing test on Windows) has now been fixed.
from java.
I'm using a Mac with OS X El Capitan 10.11.3,
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
After the fix it's working now, but I did get the InvalidKeyException on a Mac, so still not sure why it's behaving this way...
from java.
Perhaps some variation between VM implementations? Not sure, odd nonetheless!
from java.
Related Issues (20)
- Use !include with private URL
- Usage for really big and complex systems
- Delete relationship
- Implied relationship don't preserve tags in scripts
- Include systems to several groups
- Add support to filter on element properties using DSL
- Unknown model item type on 'element' HOT 1
- How to have all child relationship description display on parent context view?
- Support observing changes (at least to model)
- Ability to include single files as documentation
- Unable to call parse() methods in plugins due to DSL parser validation additional curl brace validation HOT 1
- Workspace.trim() is not correctly removing relationships when the destination of a relationship is removed from the workspace HOT 1
- Implied relationships for some filtered views aren't rendered HOT 2
- Groovy interop call yields illegal argument exception from DSL - using CLI, works from test HOT 5
- !include doesn't work with files encoded as UTF-8 BOM HOT 2
- Better / verbose error reporting
- public wasm version on npmjs.com
- Let RelationshipView be a PropertyHolder
- Let implementations of PropertyHolder return an immutable map HOT 2
- prevent overlapping relations by changing the order in plantUML export HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java.