Wolfgang Bumiller
637188d4ba
tfa: make configured webauthn origin optional
...
and add a webauthn origin override parameter to all methods
accessing it
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-28 17:00:29 +01:00
Wolfgang Bumiller
508c1e7c85
tfa: let OriginUrl deref to its inner Url, add FromStr impl
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-28 17:00:29 +01:00
Wolfgang Bumiller
df3e1c53d5
tfa: add WebauthnConfig::digest method
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-28 17:00:29 +01:00
Wolfgang Bumiller
21b56f0c79
tfa: fix typo in docs
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-28 17:00:29 +01:00
Dietmar Maurer
248e888ae7
cleanup: avoid use anyhow::*
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-28 12:50:59 +01:00
Wolfgang Bumiller
0bb298b262
bump proxmox-sortable-macro to 0.1.2-1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-26 14:11:30 +01:00
Wolfgang Bumiller
2ce2136744
sortable-macro: drop anyhow dependency
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-26 14:10:14 +01:00
Wolfgang Bumiller
be7b330d8f
sortable-macro: remove need for 'identity' macro
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-26 14:10:14 +01:00
Dietmar Maurer
cdf8220676
bump proxmox-io version to 1.0.1-1
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-25 12:16:03 +01:00
Dietmar Maurer
10ad340322
bump proxmox-sys version to 0.2.1
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-25 12:12:35 +01:00
Dietmar Maurer
41d3df8950
proxmox-io: imported pbs-tools/src/sync/std_channel_writer.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-25 11:21:31 +01:00
Dietmar Maurer
80df41a887
proxmox-sys: import pipe() function from pbs-toos/src/io.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-25 10:34:33 +01:00
Dietmar Maurer
d357ce2070
remove proxmox crate (no longer used)
...
Most functionality is now in proxmox-sys. The common-regex.rs is
moved back into proxmox-backup-server, because it is only used there.
Serde code is now in new proxmox-serde crate.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
82245339b8
use new proxmox-sys 0.2.0 for all crates
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
dace74a556
bump proxmox-sys version to 0.2.0
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
194b028789
proxmox-serde: add new crate with code from proxmox/src/tools/serde.rs
2021-11-24 10:00:38 +01:00
Dietmar Maurer
b06807532e
proxmox-sys: add stortable-macro feature and remove it from proxmox
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
ee4e56e372
proxmox-sys: moved nodename from proxmox crate
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
ec3965fdad
proxmox-sys: fix regression tests
2021-11-24 10:00:38 +01:00
Dietmar Maurer
21686c99e6
proxmox-sys: fixup worker task log macros
2021-11-24 10:00:38 +01:00
Dietmar Maurer
6efbe4e6e8
proxmox-sys: imported proxmox/src/tools/systemd.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
ba1f59c098
proxmox-sys: imported proxmox/src/tools/email.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
0806020ebf
proxmox-sys: improve dev docs
...
And move WorkerTaskContext to top level.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
e011964f81
proxmox-sys: imported pbs-tools/src/command.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
4c7bd0ee50
proxmox-sys: imported pbs-tools/src/acl.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
66aea897b6
proxmox-sys: imported pbs-tool/src/xattr.rs
2021-11-24 10:00:38 +01:00
Dietmar Maurer
d98ed51fa8
proxmox-sys: move file_get_non_comment_lines to src/fs/file.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
92caf51634
proxmox-sys: split xattr code into extra file
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
d0b7e1e299
proxmox-sys: imported pbs-tools/src/fs.rs to src/fs/read_dir.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
32b69176dd
proxmox-sys: imported proxmox tools/sys
...
And split some files into smaller parts.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-24 10:00:38 +01:00
Wolfgang Bumiller
4b1cb9f9b3
bump proxmox-tfa to 1.3.2-1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-22 13:30:51 +01:00
Wolfgang Bumiller
54e97d35c1
fix u2f context instantiation
...
don't use the appid for the origin if an origin was
specified
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-22 13:25:49 +01:00
Dietmar Maurer
c0312f3717
bum proxmox-sys version to 0.1.2
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-22 10:35:45 +01:00
Dietmar Maurer
4d158ec1b3
proxmox-sys: fix test for wrong logrotate path
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-22 10:35:45 +01:00
Wolfgang Bumiller
19c29ab9b2
clipy fixes
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-22 09:07:29 +01:00
Wolfgang Bumiller
9da1062f82
add Mmap::assume_init
...
to convert Mmap<MaybeUninit<T>> to Mmap<T>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-22 09:06:46 +01:00
Dietmar Maurer
ffbf58cad3
bump proxmox-async version to 0.2.0
2021-11-20 17:07:52 +01:00
Dietmar Maurer
cab125297b
proxmox-async: improve dev docs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-20 17:07:52 +01:00
Dietmar Maurer
5bd54b4d9b
proxmox-async: move AsyncChannelWriter to src/io
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-20 17:07:52 +01:00
Dietmar Maurer
7b7247fa80
proxmox-async: move TokioWriterAdapter to blocking
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-20 16:38:36 +01:00
Dietmar Maurer
6c4982bd7c
proxmox-async: remove duplicate src/stream/wrapped_reader_stream.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-20 16:15:05 +01:00
Dietmar Maurer
781b5161bd
proxmox-async: split stream.rs into separate files
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-20 16:12:55 +01:00
Dietmar Maurer
fa2032c7aa
proxmox-async: split blocking.rs into separate files
2021-11-20 15:58:04 +01:00
Dietmar Maurer
4413002f22
proxmox-async: add copyright file
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:43:19 +01:00
Dietmar Maurer
b63229bf1d
proxmox-async: imported pbs-tools/src/zip.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:42:11 +01:00
Dietmar Maurer
64dca3c869
proxmox-async: imported pbs-tools/src/compression.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:42:11 +01:00
Dietmar Maurer
112b239d50
proxmox-async: imported pbs-tools/src/tokio/tokio_writer_adapter.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:42:11 +01:00
Dietmar Maurer
743f7df2a5
proxmox-async: imported pbs-tools/src/stream.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:42:11 +01:00
Dietmar Maurer
a2d62a2555
proxmox-async: imported pbs-tools/src/broadcast_future.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:42:11 +01:00
Dietmar Maurer
e1f0eb4aec
proxmox-async: start new crate
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:42:11 +01:00