Re: [pve-devel] [Patch guest-common] set last_sync_snapname after a job restored.

2018-05-24 Thread Thomas Lamprecht
On 5/22/18 3:30 PM, Wolfgang Link wrote: > The replication need the last_sync_snapname to clean up > the last snapshot after the replication run done. > > If this is not correctly set the snapshot will exist until the next run. > --- > PVE/Replication.pm | 1 + > 1 file changed, 1 insertion(+) >

[pve-devel] applied: [PATCH kernel 4.13 1/4] update ZFS to 0.7.9-pve1

2018-05-24 Thread Thomas Lamprecht
On 5/22/18 4:01 PM, Thomas Lamprecht wrote: > Signed-off-by: Thomas Lamprecht > --- > submodules/zfsonlinux | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/submodules/zfsonlinux b/submodules/zfsonlinux > index 47ae0e2..cabb465 16 > --- a/submodules/zfsonlinux > +++ b

[pve-devel] applied: [PATCH kernel 4.15 1/4] update ZFS to 0.7.9-pve1

2018-05-24 Thread Thomas Lamprecht
On 5/22/18 1:31 PM, Thomas Lamprecht wrote: > Signed-off-by: Thomas Lamprecht > --- > submodules/zfsonlinux | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/submodules/zfsonlinux b/submodules/zfsonlinux > index 47ae0e2..cabb465 16 > --- a/submodules/zfsonlinux > +++ b

[pve-devel] [PATCH cluster 1/1] add u2f configuration to datacenter.cfg

2018-05-24 Thread Wolfgang Bumiller
Signed-off-by: Wolfgang Bumiller --- data/PVE/Cluster.pm | 19 +++ 1 file changed, 19 insertions(+) diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm index 7569abc..149bbda 100644 --- a/data/PVE/Cluster.pm +++ b/data/PVE/Cluster.pm @@ -1346,6 +1346,19 @@ my $migration_format

[pve-devel] [PATCH access-control 1/2] add PVE::U2F, libu2f-server bindings

2018-05-24 Thread Wolfgang Bumiller
Signed-off-by: Wolfgang Bumiller --- .gitignore | 3 ++ Makefile | 25 - PVE/U2F.pm | 155 U2F.xs | 179 + 4 files changed, 361 insertions(+), 1 deletion(-) create mo

[pve-devel] [PATCH common] add u2f challenge accessors to RESTEnvironment

2018-05-24 Thread Wolfgang Bumiller
Signed-off-by: Wolfgang Bumiller --- src/PVE/RESTEnvironment.pm | 14 ++ 1 file changed, 14 insertions(+) diff --git a/src/PVE/RESTEnvironment.pm b/src/PVE/RESTEnvironment.pm index 32ffdd1..9c966dd 100644 --- a/src/PVE/RESTEnvironment.pm +++ b/src/PVE/RESTEnvironment.pm @@ -217,6 +21

[pve-devel] [PATCH access-control 2/2] Implement u2f authentication

2018-05-24 Thread Wolfgang Bumiller
Signed-off-by: Wolfgang Bumiller --- PVE/API2/AccessControl.pm | 215 -- PVE/AccessControl.pm | 65 -- PVE/Auth/AD.pm| 4 +- PVE/Auth/LDAP.pm | 3 +- PVE/Auth/PAM.pm | 3 +- PVE/Auth/PVE.pm

[pve-devel] [PATCH manager 1/3] store u2f challenges in the rpc environment

2018-05-24 Thread Wolfgang Bumiller
Signed-off-by: Wolfgang Bumiller --- PVE/HTTPServer.pm | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/PVE/HTTPServer.pm b/PVE/HTTPServer.pm index 9a02e799..a3174fbd 100755 --- a/PVE/HTTPServer.pm +++ b/PVE/HTTPServer.pm @@ -80,7 +80,13 @@ sub auth_handler { d

[pve-devel] [PATCH manager 2/3] add u2f-api.js

2018-05-24 Thread Wolfgang Bumiller
Signed-off-by: Wolfgang Bumiller --- www/Makefile | 3 +- www/u2f-api.js | 748 + 2 files changed, 750 insertions(+), 1 deletion(-) create mode 100644 www/u2f-api.js diff --git a/www/Makefile b/www/Makefile index 30becf3a..eaee5ea5 100

[pve-devel] [RFC/Draft] U2F Authentication

2018-05-24 Thread Wolfgang Bumiller
This is an attempt at adding U2F authentication. This is a little different than our current 2FA variant, since it requires the user to be able to interactively add/update/delete the U2F key, and also (mostly) requires the login to happen in two phases which required some changes to our ticket syst

[pve-devel] [PATCH manager 3/3] ui: support u2f authentication

2018-05-24 Thread Wolfgang Bumiller
Signed-off-by: Wolfgang Bumiller --- www/index.html.tpl | 1 + www/manager6/Makefile | 1 + www/manager6/Workspace.js | 6 +- www/manager6/dc/U2FEdit.js | 145 + www/manager6/dc/UserView.js| 15 +++-

Re: [pve-devel] [PATCH V2 ifupdown2 0/2] ifupdown2 package

2018-05-24 Thread Wolfgang Bumiller
On Wed, May 23, 2018 at 12:03:26PM +0200, Alexandre DERUMIER wrote: > any comment ? I'll prepare packages for internal testing soon, then we should be able to give more feedback :-) > - Mail original - > De: "Alexandre Derumier" > À: "pve-devel" > Cc: "Alexandre Derumier" > Envoyé:

Re: [pve-devel] [PATCH V2 ifupdown2 0/2] ifupdown2 package

2018-05-24 Thread Alexandre DERUMIER
>>I'll prepare packages for internal testing soon, then we should be >>able to give more feedback :-) Thanks wolfgang ! - Mail original - De: "Wolfgang Bumiller" À: "aderumier" Cc: "pve-devel" Envoyé: Jeudi 24 Mai 2018 15:30:47 Objet: Re: [pve-devel] [PATCH V2 ifupdown2 0/2] ifupdown2

Re: [pve-devel] [RFC/Draft] U2F Authentication

2018-05-24 Thread Alexandre DERUMIER
does it work with fido2/webauthn too ? https://www.w3.org/2018/04/pressrelease-webauthn-fido2.html.en - Mail original - De: "Wolfgang Bumiller" À: "pve-devel" Envoyé: Jeudi 24 Mai 2018 15:28:45 Objet: [pve-devel] [RFC/Draft] U2F Authentication This is an attempt at adding U2F authentic

Re: [pve-devel] [PATCH common] add u2f challenge accessors to RESTEnvironment

2018-05-24 Thread Thomas Lamprecht
On 5/24/18 3:28 PM, Wolfgang Bumiller wrote: > Signed-off-by: Wolfgang Bumiller > --- > src/PVE/RESTEnvironment.pm | 14 ++ > 1 file changed, 14 insertions(+) > > diff --git a/src/PVE/RESTEnvironment.pm b/src/PVE/RESTEnvironment.pm > index 32ffdd1..9c966dd 100644 > --- a/src/PVE/REST