mirror of
				https://github.com/gaschz/qubes-pass.git
				synced 2025-11-04 05:28:53 +01:00 
			
		
		
		
	Fix UX to show key.
This commit is contained in:
		
							parent
							
								
									df75696328
								
							
						
					
					
						commit
						29cc97ad7b
					
				@ -95,11 +95,11 @@ case "$1" in
 | 
				
			|||||||
            echo ""
 | 
					            echo ""
 | 
				
			||||||
            contents=$(cat)
 | 
					            contents=$(cat)
 | 
				
			||||||
        elif [ "$echo" == "1" ] ; then
 | 
					        elif [ "$echo" == "1" ] ; then
 | 
				
			||||||
            read -p "Enter password for b: " contents >&2
 | 
					            read -p "Enter password for $1: " contents >&2
 | 
				
			||||||
        else
 | 
					        else
 | 
				
			||||||
            read -s -p "Enter password for b: " contents >&2
 | 
					            read -s -p "Enter password for $1: " contents >&2
 | 
				
			||||||
            echo
 | 
					            echo
 | 
				
			||||||
            read -s -p "Retype password for b: " retypedcontents >&2
 | 
					            read -s -p "Retype password for $1: " retypedcontents >&2
 | 
				
			||||||
            echo
 | 
					            echo
 | 
				
			||||||
            if [ "$retypedcontents" != "$contents" ] ; then
 | 
					            if [ "$retypedcontents" != "$contents" ] ; then
 | 
				
			||||||
                echo "Error: the entered passwords do not match."
 | 
					                echo "Error: the entered passwords do not match."
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user