mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
(tinc) change defaults to match latest tinc version
This commit is contained in:
parent
f9c433a4ec
commit
d2ae3d1337
2 changed files with 3 additions and 2 deletions
|
|
@ -47,7 +47,7 @@
|
|||
<Multiple>N</Multiple>
|
||||
<ConfigdPopulateAct>tinc list ciphers</ConfigdPopulateAct>
|
||||
<SourceFile>/tmp/tinc_current_cipher_options.index</SourceFile>
|
||||
<default>blowfish</default>
|
||||
<default>aes-256-cbc</default>
|
||||
</cipher>
|
||||
<enabled type="BooleanField">
|
||||
<default>1</default>
|
||||
|
|
@ -105,7 +105,7 @@
|
|||
<Multiple>N</Multiple>
|
||||
<ConfigdPopulateAct>tinc list ciphers</ConfigdPopulateAct>
|
||||
<SourceFile>/tmp/tinc_current_cipher_options.index</SourceFile>
|
||||
<default>blowfish</default>
|
||||
<default>aes-256-cbc</default>
|
||||
</cipher>
|
||||
<connectTo type="BooleanField">
|
||||
<default>1</default>
|
||||
|
|
|
|||
|
|
@ -125,6 +125,7 @@ class Host(NetwConfObject):
|
|||
result.append('Address=%(address)s'%self._payload)
|
||||
result.append('Subnet=%(subnet)s'%self._payload)
|
||||
result.append('Cipher=%(cipher)s'%self._payload)
|
||||
result.append('Digest=sha256')
|
||||
result.append(self._payload['pubkey'])
|
||||
return '\n'.join(result)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue