We can not use botan on arm, so we need to look for another way to do password hashing #5
	
		Labels
		
	
	
	
	No labels
	
		
			
	
	
	
	
Priority: Critical
		
			Priority: High
		
			Priority: Low
		
			Priority: Medium
		
			Status: Blocked
		
			Status: In Progress
		
			Status: Pending
		
			Status: Review Needed
		
			Status: Revision Needed
		
			Tech: Database
		
			Tech: Library
		
			Tech: Security
		
			Tech: vibe.d
		
			Type: Bug
		
			Type: Enhancement
		
			Type: Maintenance
		
			Type: Question
		
			Type: Upstream Bug
		
		
	
	No project
	
		
	
	
	
	
		No assignees
		
	
	
	
	
		1 participant
	
	
		
		
	Notifications
	
		
	
	
	
	
	Due date
No due date set.
	
		Dependencies
		
		
	
	
	No dependencies set.
		Reference: fsimphy/calendar-webapp#5
		
	
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	
	No description provided.
		
		Delete branch "%!s()"
	 
	Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Botan uses (x86) inline assembler and thus can't be used on arm. We need some other way to hash our passwords.
Basic information
1e860a5363Description
As mentioned above, botan is not compatible with arm. Thus compilation fails.
Expected behaviour
Program compiles sucessfully.
Actual behaviour
Compilation fails.
Reproduction steps
ldcanddubon an arm machinedub build --compiler=ldc2Other things to be mentioned
One possible replacment for botan would be to just use SHA2, which is included in phobos. The Raspberry Pi is slow enough as it is that SHA2 should be secure enough. However, we would need to generate salts manually and phobos does not contain a cryptographically secure PRNG. Any suggestions?