Changeset 32903 in osm for applications/editors/josm/plugins/trustosm/src/org
- Timestamp:
- 2016-09-03T12:27:48+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/TrustOSMplugin.java
r32533 r32903 89 89 // create a cipher and attempt to encrypt the data block with our key 90 90 try { 91 Cipher c = Cipher.getInstance("AES ");91 Cipher c = Cipher.getInstance("AES/CBC/NoPadding"); 92 92 // create a 192 bit secret key from raw bytes 93 93 … … 102 102 c.doFinal(data); 103 103 } catch (InvalidKeyException e) { 104 Main.warn( "It seems that the Unrestricted Policy Files are not available in this JVM. "+104 Main.warn(e, "It seems that the Unrestricted Policy Files are not available in this JVM. "+ 105 105 "So high level crypto is not allowed. Problems may occur."); 106 106 installUnrestrictedPolicyFiles();
Note:
See TracChangeset
for help on using the changeset viewer.