From 455c0b9c2c77624638b3bb671338291f3adbad20 Mon Sep 17 00:00:00 2001 From: Christian Basler Date: Thu, 18 Jun 2015 22:17:38 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ab099a8..794d8d5 100644 --- a/README.md +++ b/README.md @@ -8,4 +8,17 @@ Please note that development is still heavily in progress, and I will break the Security -------- -If you're able to audit Jabit to verify its security, you would be very very welcome. Please be aware though that the official Bitmessage project would like an audit, too, and they were first in line. +There are most probably some security issues, me programming this thing all by myself. Jabit doesn't do anything against timing attacks yet, for example. Please feel free to use the library, report bugs and maybe even help out. I hope the code is easy to understand and work with. + +Project Status +-------------- +Basically, everything needed for a working Bitmessage client is there: +* Creating new identities (private addresses) +* Adding contracts and subscriptions +* Receiving broadcasts +* Receiving messages +* Sending messages and broadcasts +* Managing outgoing and incoming connections +* Initialise and manage a registry of Bitmessage network nodes +* An easy to use API +* A command line demo application built using the API From 027efe43dfb6de6b43ce5feb698c5aacf8c12888 Mon Sep 17 00:00:00 2001 From: Christian Basler Date: Sat, 20 Jun 2015 08:09:51 +0200 Subject: [PATCH 2/2] Version 0.1.2 bump - fixed problem where IPv4 Addresses weren't converted correctly. --- build.gradle | 2 +- .../ch/dissem/bitmessage/entity/valueobject/NetworkAddress.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index dfa2df8..da8e3ef 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ allprojects { sourceCompatibility = 1.7 group = 'ch.dissem.jabit' - version = '0.1.2-SNAPSHOT' + version = '0.1.2' repositories { mavenCentral() diff --git a/domain/src/main/java/ch/dissem/bitmessage/entity/valueobject/NetworkAddress.java b/domain/src/main/java/ch/dissem/bitmessage/entity/valueobject/NetworkAddress.java index 09cca10..794ae44 100644 --- a/domain/src/main/java/ch/dissem/bitmessage/entity/valueobject/NetworkAddress.java +++ b/domain/src/main/java/ch/dissem/bitmessage/entity/valueobject/NetworkAddress.java @@ -157,6 +157,8 @@ public class NetworkAddress implements Streamable { this.ipv6 = addr; } else if (addr.length == 4) { this.ipv6 = new byte[16]; + this.ipv6[10] = (byte) 0xff; + this.ipv6[11] = (byte) 0xff; System.arraycopy(addr, 0, this.ipv6, 12, 4); } else { throw new IllegalArgumentException("Weird address " + inetAddress);