netnix.org
Networking and Unix


TemplateFx v2.47

 December 16th, 2015Dec 16th, 2015      

I am pleased to announce the release of Template v2.47 – a scriptable dynamic templating tool that enables you to write configuration templates once and deploy multiple times – never do the same thing twice. In addition, it now comes with a feature packed IPv4/IPv6 Subnet Calculator built in!

Download links and instructions can be found on the TemplateFx page.

[…]

General TemplateFx


TemplateFx v2.46

 September 14th, 2015Sep 14th, 2015      

I am pleased to announce the release of Template v2.46 – a scriptable dynamic templating tool that enables you to write configuration templates once and deploy multiple times – never do the same thing twice. In addition, it now comes with a feature packed IPv4/IPv6 Subnet Calculator built in!

Download links and instructions can be found on the TemplateFx page.

[…]

General TemplateFx


TemplateFx v2.45

 July 21st, 2015Jul 21st, 2015      

I am pleased to announce the release of Template v2.45 – a scriptable dynamic templating tool that enables you to write configuration templates once and deploy multiple times – never do the same thing twice. In addition, it now comes with a feature packed IPv4/IPv6 Subnet Calculator built in!

Download links and instructions can be found on the TemplateFx page.

templatefx-screenshot

The changes in this release are summarised below:

  • Updated “lodash.js” to v3.10.0.
  • Enhancements to the ip based JavaScript functions to add IPv6 support.
  • Included an IPv4/IPv6 Subnet Calculator into TemplateFx.
  • Implemented HTML based Copy & Cut for template text to maintain syntax highlighting.
  • JavaScript ip functions now return “null” on error as opposed to “undefined”.
  • Fixed an issue where highlighted text wasn’t shown to be selected on MacOS.
  • Added support to the JavaScript function “ipsplit()” to determine the aggregate.
  • Fixed a potential issue with JavaScript function “ipsplit()”.

Feedback welcome as well as suggestions or enhancement requests or general queries!

General TemplateFx


TemplateFx v2.44

 May 5th, 2015May 5th, 2015      

I am pleased to announce the release of Template v2.44 – a scriptable dynamic templating tool that enables you to write configuration templates once and deploy multiple times – never do the same thing twice.

Download links and instructions can be found on the TemplateFx page.

templatefx-screenshot

The changes in this release are summarised below:

  • Updated “lodash.js” to v3.8.0.
  • Added an output pane feature called “Copy Mode” which automatically highlights blocks on mouse over.
  • Added an “Expand Pane” feature on the right click menu to expand/maximise the current pane.
  • Improved the “Generate Output” dialog to disable the “OK” button and change cursor.
  • Enhanced the “ipsplit()” function to allow you to specify minimum subnets.
  • Added status bar to the bottom of the “DataTemplate” tab to indicate full path to DataTemplate.
  • Added support for DataTemplate encryption using AES-128 and 100,000 PBKDF2 iterations.
  • Bumped the DataTemplate file version to 4 to support encryption (older versions can’t read newer files, etc).
  • Added a toggle for “Maximise on Start” to preferences.
  • Various wait cursor improvements.

Feedback welcome as well as suggestions or enhancement requests or general queries!

General TemplateFx


AES Encryption with HMAC Integrity in Java

 April 19th, 2015Apr 19th, 2015        20

UPDATED: 12th August 2016

I recently came across a requirement to provide password based encryption and decryption of data in a Java program. I initially assumed I just needed to pass my data through some internal Java “encrypt (plaintext, password)” type function and all would be fine. Unfortunately I found it isn’t quite as simple as this and there are quite a few pitfalls you need to overcome if you want to do this securely and properly.

I also wanted to work within the limitations of Java and only use native libraries (e.g. “javax.crypto”), which rules out the popular Bouncy Castle cryptographic library – rolling your own crypto functions is also a very bad idea (repeat “very bad idea“) as even the experts can get it wrong sometimes. I also wanted to ensure it worked with Java 7, which rules out some of the newer more modern modes of AES like GCM (Galois/Counter Mode).

[…]

General Cryptography Java


1 2 3 4 - 7