9432838914 
					 
					
						
						
							
							client: refactor crypto_parameter handling  
						
						... 
						
						
						
						pull out the crypt-mode to logically group arms and make the whole mess
a bit more "human-parsable".
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com > 
						
						
					 
					
						2021-02-06 09:06:28 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1a89a7794e 
					 
					
						
						
							
							client: extend tests for master key handling  
						
						... 
						
						
						
						Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com > 
						
						
					 
					
						2021-02-06 09:05:01 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c0a87c12fb 
					 
					
						
						
							
							client: allow passing specific master key  
						
						... 
						
						
						
						it's needed for PVE's LXC integration, and might be interesting for
other more special usage scenarios as well.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com > 
						
						
					 
					
						2021-02-06 09:04:42 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c6a7ea0a2f 
					 
					
						
						
							
							client: refactor keyfile_parameters  
						
						... 
						
						
						
						no semantic changes intended
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com > 
						
						
					 
					
						2021-02-06 09:03:03 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5bb057e5a2 
					 
					
						
						
							
							client: add test for keyfile_parameters  
						
						... 
						
						
						
						this will get more complex soon, so add test to document current
behaviour.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com > 
						
						
					 
					
						2021-02-06 08:58:15 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2924b37d6d 
					 
					
						
						
							
							key: rustfmt module  
						
						... 
						
						
						
						Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com > 
						
						
					 
					
						2021-02-06 08:56:19 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						42c0f784e2 
					 
					
						
						
							
							key: add show-master-pubkey command  
						
						... 
						
						
						
						and print public key when generating/importing..
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com > 
						
						
					 
					
						2021-02-06 08:55:21 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						05f17d1ec4 
					 
					
						
						
							
							key: make 'default' master key explicit  
						
						... 
						
						
						
						Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com > 
						
						
					 
					
						2021-02-06 08:52:11 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f197c286d5 
					 
					
						
						
							
							tape/inventory: fix missing parameter in error message  
						
						... 
						
						
						
						Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-02-05 16:12:18 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4c209d6b10 
					 
					
						
						
							
							install pmt binary  
						
						
						
						
					 
					
						2021-02-05 12:42:20 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						25aa55b5f5 
					 
					
						
						
							
							tape: correctly lock the tape device  
						
						
						
						
					 
					
						2021-02-05 10:50:21 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cdf39e62b3 
					 
					
						
						
							
							tape: MediaPool - replace use_offline_media with changer_name  
						
						... 
						
						
						
						This way, we can improve location_is_available, because we only
consider media from that changer as available. 
						
						
					 
					
						2021-02-04 10:15:18 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b81e37f6ab 
					 
					
						
						
							
							tape: improve code reuse  
						
						
						
						
					 
					
						2021-02-04 09:39:16 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ddebbb52fd 
					 
					
						
						
							
							tape: fix tests for BlockedReader  
						
						
						
						
					 
					
						2021-02-04 08:54:54 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						983e929e25 
					 
					
						
						
							
							tape: add multi volume reader/writer implementations  
						
						... 
						
						
						
						We currently do not use it. Added anaways, to show the possibility. 
						
						
					 
					
						2021-02-04 08:36:35 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f47e035721 
					 
					
						
						
							
							tape: cleanup - move tape file readers/writers into src/tape/file_formats folder  
						
						
						
						
					 
					
						2021-02-04 07:59:37 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a80d72f999 
					 
					
						
						
							
							tape: allow to abort restore tasks  
						
						
						
						
					 
					
						2021-02-04 07:05:43 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8de9a9917f 
					 
					
						
						
							
							cleanup: use task_log macro  
						
						
						
						
					 
					
						2021-02-04 06:55:18 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fa016c1697 
					 
					
						
						
							
							HttpsConnector: use hostname instead of URL again  
						
						... 
						
						
						
						fixes connecting to hosts with valid certificates without a
pinned fingerprint
this was accidentally changed in the tokio-1.0 updates
apparently
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com >
Fixes: 0f860f712f 
						
						
					 
					
						2021-02-03 15:18:18 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7d2c156eb1 
					 
					
						
						
							
							tape: BlockedReader - always consume EOF  
						
						
						
						
					 
					
						2021-02-03 13:25:59 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b22e8c3632 
					 
					
						
						
							
							tape: add media pool regression tests  
						
						
						
						
					 
					
						2021-02-03 10:23:04 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7929292618 
					 
					
						
						
							
							tape: add regresion test for media state  
						
						
						
						
					 
					
						2021-02-03 09:34:31 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0d4e4cae7f 
					 
					
						
						
							
							tape: improve pmt command line completion  
						
						
						
						
					 
					
						2021-02-03 08:54:12 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						50a4797fb1 
					 
					
						
						
							
							api2/types/tape/media: add media_set_ctime to MediaContentEntry  
						
						... 
						
						
						
						to be able to better sort in the ui
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-02-02 14:45:54 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cc2a0b12f8 
					 
					
						
						
							
							test: define tape tests as submodule  
						
						
						
						
					 
					
						2021-02-02 14:38:15 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						988e8de122 
					 
					
						
						
							
							tape: set correct ownership on lock file  
						
						
						
						
					 
					
						2021-02-02 14:18:57 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2f8809c6bc 
					 
					
						
						
							
							test: src/tape/inventory.rs - avoid chown when running tests  
						
						
						
						
					 
					
						2021-02-02 13:43:16 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8937c65951 
					 
					
						
						
							
							tape: add pmt stoptions/stsethoptions/stclearoptions  
						
						
						
						
					 
					
						2021-02-02 08:58:02 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6c6ad82d90 
					 
					
						
						
							
							tape: add pmt setblk  
						
						
						
						
					 
					
						2021-02-02 07:19:54 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d0f11b66f7 
					 
					
						
						
							
							thape: add read_tapedev_options, display driver options with status command  
						
						
						
						
					 
					
						2021-02-02 06:40:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ca953d831f 
					 
					
						
						
							
							cleanup: remove MT_ST_ prefix from SetDrvBufferOptions  
						
						
						
						
					 
					
						2021-02-01 17:54:53 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						01c023d50f 
					 
					
						
						
							
							paperkey: rustfmt  
						
						... 
						
						
						
						Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com > 
						
						
					 
					
						2021-02-01 17:05:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c2113a405e 
					 
					
						
						
							
							paperkey: simplify block generation  
						
						... 
						
						
						
						the chunk-iterator already does exactly what we want here..
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com > 
						
						
					 
					
						2021-02-01 17:05:32 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5dae81d199 
					 
					
						
						
							
							paperkey: allow RSA keys without passphrase  
						
						... 
						
						
						
						some users might want to store the plain version of their master key for
long-term storage and rely on physical security instead of a passphrase
to protect the paper key.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com > 
						
						
					 
					
						2021-02-01 17:05:22 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6248e51797 
					 
					
						
						
							
							change half-ticket time range from -120..240 to  -60..600  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-02-01 15:13:11 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						19e4a36c70 
					 
					
						
						
							
							tape: do not use drive.open() within pmt  
						
						... 
						
						
						
						Do not fail if no media is loaded. Inportant for load command. 
						
						
					 
					
						2021-02-01 12:39:50 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						90769e5694 
					 
					
						
						
							
							tape: add pmt lock/unlock  
						
						
						
						
					 
					
						2021-02-01 12:18:55 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b8cbe5d65b 
					 
					
						
						
							
							tape: fix tape alert flag decoding  
						
						
						
						
					 
					
						2021-02-01 12:18:55 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d690d14568 
					 
					
						
						
							
							tape: add pmt bsr/fsr  
						
						
						
						
					 
					
						2021-02-01 10:39:04 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						85ef624440 
					 
					
						
						
							
							tape: add pmt asf  
						
						
						
						
					 
					
						2021-02-01 10:32:21 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e995996290 
					 
					
						
						
							
							tape: pmt - fix count parameter schema  
						
						
						
						
					 
					
						2021-02-01 10:21:25 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8e6ad4301d 
					 
					
						
						
							
							tape: add pmt fsfm/bsfm, pass count as arg_param  
						
						
						
						
					 
					
						2021-02-01 10:18:18 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1399c592d1 
					 
					
						
						
							
							garbage_collection: only ignore 'missing chunk' errors  
						
						... 
						
						
						
						with the fix for #2909  (improving handling missing chunks), we
changed from bailing to warning during a garbage collection when
updating the atime of a chunk.
but, updating the atime can not only fail when the chunk is missing,
but also on other occasions, e.g. no permissions or more importantly,
no space left on the device. in that case, the atime of a valid and used
chunk cannot be updated, and the second sweep of the gc will remove that chunk.
[0] is a real world example of that happening.
instead, only warn on really missin chunks, and bail on all other
errors.
0: https://forum.proxmox.com/threads/pbs-server-full-two-days-later-almost-empty.83274/ 
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-02-01 09:18:59 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9883b54cba 
					 
					
						
						
							
							tape: remove drive from pool config  
						
						
						
						
					 
					
						2021-02-01 09:14:28 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						83b8949a98 
					 
					
						
						
							
							tape: add pmt weof  
						
						
						
						
					 
					
						2021-01-31 17:33:07 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						28f60e5291 
					 
					
						
						
							
							cleanup: avoid compiler warnings  
						
						
						
						
					 
					
						2021-01-31 17:02:55 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1f31d06f48 
					 
					
						
						
							
							tape: add pmt bsf  
						
						
						
						
					 
					
						2021-01-31 17:00:15 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2f2e83c890 
					 
					
						
						
							
							tape: add pmt fsf  
						
						
						
						
					 
					
						2021-01-31 16:54:16 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b22c618734 
					 
					
						
						
							
							tape: add pmt erase  
						
						
						
						
					 
					
						2021-01-31 16:34:10 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1e041082bb 
					 
					
						
						
							
							tape: add pmt command line tool  
						
						... 
						
						
						
						Experimental, not installed by now. 
						
						
					 
					
						2021-01-31 16:19:53 +01:00