Hide app secrets such as API keys in code.
Move secret keys out of the repository and hide them in the binary. C-string -> String decoding for unsigned strings and buffers to facilitate conversion of various C API strings into Swift. Some cleanup in base64 coding utility. A utility for converting hex strings into byte buffers. Improved checks during AES routine and fix PKCS padding bug if plain text fits block size.
This commit is contained in:
		@@ -3054,6 +3054,7 @@
 | 
			
		||||
				CLANG_ENABLE_OBJC_ARC = YES;
 | 
			
		||||
				CODE_SIGN_ENTITLEMENTS = Source/Mac/MasterPassword.entitlements;
 | 
			
		||||
				CODE_SIGN_IDENTITY = "-";
 | 
			
		||||
				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
 | 
			
		||||
				COMBINE_HIDPI_IMAGES = YES;
 | 
			
		||||
				FRAMEWORK_SEARCH_PATHS = (
 | 
			
		||||
					"$(inherited)",
 | 
			
		||||
@@ -3543,6 +3544,7 @@
 | 
			
		||||
				CLANG_ENABLE_OBJC_ARC = YES;
 | 
			
		||||
				CODE_SIGN_ENTITLEMENTS = Source/Mac/MasterPassword.entitlements;
 | 
			
		||||
				CODE_SIGN_IDENTITY = "Mac Developer";
 | 
			
		||||
				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
 | 
			
		||||
				COMBINE_HIDPI_IMAGES = YES;
 | 
			
		||||
				FRAMEWORK_SEARCH_PATHS = (
 | 
			
		||||
					"$(inherited)",
 | 
			
		||||
@@ -3580,6 +3582,7 @@
 | 
			
		||||
				CLANG_ENABLE_OBJC_ARC = YES;
 | 
			
		||||
				CODE_SIGN_ENTITLEMENTS = Source/Mac/MasterPassword.entitlements;
 | 
			
		||||
				CODE_SIGN_IDENTITY = "Mac Developer";
 | 
			
		||||
				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
 | 
			
		||||
				COMBINE_HIDPI_IMAGES = YES;
 | 
			
		||||
				FRAMEWORK_SEARCH_PATHS = (
 | 
			
		||||
					"$(inherited)",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user