Picopass: show elite key used from dictionary (#2119)
* show elite key used from dictionary * remove space so it fits on screen Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							d7ecc95de4
						
					
				
				
					commit
					71871949ec
				
			| @@ -69,6 +69,19 @@ void picopass_scene_read_card_success_on_enter(void* context) { | |||||||
|             furi_string_cat_printf(sio_str, "+SIO"); |             furi_string_cat_printf(sio_str, "+SIO"); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |         if(pacs->key) { | ||||||
|  |             if(pacs->sio) { | ||||||
|  |                 furi_string_cat_printf(sio_str, " "); | ||||||
|  |             } | ||||||
|  |             furi_string_cat_printf(sio_str, "Key: "); | ||||||
|  |  | ||||||
|  |             uint8_t key[PICOPASS_BLOCK_LEN]; | ||||||
|  |             memcpy(key, &pacs->key, PICOPASS_BLOCK_LEN); | ||||||
|  |             for(uint8_t i = 0; i < PICOPASS_BLOCK_LEN; i++) { | ||||||
|  |                 furi_string_cat_printf(sio_str, "%02X", key[i]); | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |  | ||||||
|         widget_add_button_element( |         widget_add_button_element( | ||||||
|             widget, |             widget, | ||||||
|             GuiButtonTypeLeft, |             GuiButtonTypeLeft, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user