Skip to content

Commit

Permalink
Revert to noise over tls
Browse files Browse the repository at this point in the history
  • Loading branch information
ianopolous committed Jul 13, 2023
1 parent 3b46a22 commit d0f2ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/peergos/HostBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ public static Host build(PrivKey privKey,
Host host = BuilderJKt.hostJ(Builder.Defaults.None, b -> {
b.getIdentity().setFactory(() -> privKey);
b.getTransports().add(TcpTransport::new);
b.getSecureChannels().add(TlsSecureChannel::new);
b.getSecureChannels().add(NoiseXXSecureChannel::new);
b.getSecureChannels().add(TlsSecureChannel::new);

b.getMuxers().addAll(muxers);
RamAddressBook addrs = new RamAddressBook();
Expand Down

0 comments on commit d0f2ce2

Please sign in to comment.