mirror of https://github.com/zlatinb/muwire
stronger sig type
parent
6430ff2691
commit
fa12e84345
|
@ -9,6 +9,7 @@ import net.i2p.client.I2PSession
|
||||||
import net.i2p.client.I2PSessionMuxedListener
|
import net.i2p.client.I2PSessionMuxedListener
|
||||||
import net.i2p.client.datagram.I2PDatagramDissector
|
import net.i2p.client.datagram.I2PDatagramDissector
|
||||||
import net.i2p.client.datagram.I2PDatagramMaker
|
import net.i2p.client.datagram.I2PDatagramMaker
|
||||||
|
import net.i2p.crypto.SigType
|
||||||
|
|
||||||
|
|
||||||
@Log
|
@Log
|
||||||
|
@ -28,7 +29,7 @@ class UpdateServer {
|
||||||
def session
|
def session
|
||||||
if (!keyFile.exists()) {
|
if (!keyFile.exists()) {
|
||||||
def os = new FileOutputStream(keyFile);
|
def os = new FileOutputStream(keyFile);
|
||||||
myDest = i2pClient.createDestination(os)
|
myDest = i2pClient.createDestination(os, SigType.EdDSA_SHA512_Ed25519)
|
||||||
os.close()
|
os.close()
|
||||||
log.info "No key.dat file was found, so creating a new destination."
|
log.info "No key.dat file was found, so creating a new destination."
|
||||||
log.info "This is the destination you want to give out for your new UpdateServer"
|
log.info "This is the destination you want to give out for your new UpdateServer"
|
||||||
|
|
Loading…
Reference in New Issue