Questions tagged [encryption]

Encoding information in a way so that it can only be decoded if a secret is known; used to prevent exposure of data to other parties.

28 questions
7
votes
1 answer

Does Raspberry Pi 4 processor support AES-NI instructions?

In the interest of minimizing timing attacks on my OpenVPN and similar connections, does Raspberry Pi 4 support AES-NI instructions? Some reference to AES is made in the technical reference manual, but I don't see a conclusive answer anywhere.
5
votes
2 answers

Raspbian: dm_mod missing after mkinitramfs on luks encrypted partition

It appears that after a kernel update happened, and rebooted for, Raspbian will no longer boot. (RPi4) After entering the (correct) encryption key when prompted, the mount fails with error: Cannot initialize device-mapper. Is dm_mod kernel module…
Adambean
  • 220
  • 1
  • 10
4
votes
1 answer

Does the Raspberry Pi 4's processor support ARM's SHA256 instructions?

According to Wikipedia, every Armv8 processor should support sha256 hashing instructions however /proc/cpuinfo doesn't list it. Could there be a failure to identify the feature by the kernel? processor : 3 BogoMIPS : 108.00 Features : fp…
erolll
  • 41
  • 2
3
votes
1 answer

How can I enable wireless for a dropbear-initramfs

I'm trying to unlock cryptdisks over wifi+ssh. It's fairly common to have luks disks + ssh, but I've never seen a tutorial geared towards wifi. In fact, if you run update-initramfs -u -v -k $(uname -r) as suggested in this post and every other post…
3
votes
1 answer

Configure my Raspberry Pi 4 B to become a Tor-powered Hotspot

I want to be able to connect from my computer to my pi to automatically connect to tor. This would entail that when I can technically use Tor from any browser on my computer. I have tried methods using OpenWrt and using Raspbian, but they simply…
Big Bird
  • 85
  • 2
  • 8
2
votes
0 answers

How to decode RFID value?

I am working on an attendance system project using Raspberry Pi Pico W, EM - 18 reader and MicroPython. Not sure of the tag type here, but I guess it is 125KHz tag. More, my card is keeping '29714856' actual value. But when read using EM - 18 I…
R. Baraiya
  • 109
  • 5
2
votes
1 answer

Is full disk encryption viable on a Pi3

I have a need for full disk encryption on two Pi3s with will be used for an autonomous robotic project. I see LUKS is available for Buster with remote unlock, which is necessary since the 2 Pi3s will be running headless. What I don't know is does a…
Nick
  • 774
  • 4
  • 16
2
votes
1 answer

motion not encrypted even with https

Edit : I found a workaround, please see the Edit at the end. I have a raspberry PI 3 running Raspbian Buster. I'm trying to set up motion 4.2.2 with 2 cameras to make a little surveillance system, and I need to stream it to the Internet so that I…
kehiwiwih
  • 21
  • 4
2
votes
0 answers

Pi cannot boot when encrypted USB SSD drive is attached

I have a Pi 4, running Raspbian 10 Buster. I have an attached SSD drive with LUKS encryption. When I restart the Pi, it wouldn't boot if the SSD is attached. Once I unplug it, it boots well and I can connect the USB drive and works well after…
Ryan
  • 21
  • 1
  • 3
1
vote
1 answer

How do you install Pop!_OS on a Raspberry Pi 4 with an encrypted disk?

The title says it all. The current version of Pop!_OS for the Pi 4 does not offer the option to encrypt the root partition.
Andreas
  • 21
  • 3
1
vote
0 answers

SSD external drive with encrypted luks partition unmounts itself on high read write actions

I wanted to make myself something like NAS with RPi4 4GB ram and 1TB SSD drive. I have been using Nextcloud and now syncthing trying to accomplish that goal but in both cases I'm running into the same issue, my SSD external drive with encrypted luks…
TSNG
  • 11
  • 1
1
vote
1 answer

How to mount a VeraCrypt container on a RPi with optimal performance?

On a Raspberry Pi, in order to use a VeraCrypt encrypted container/partition, which solution offers the best performance between installing VeraCrypt or using cryptsetup (that seems to support it)? Context: I have an USB3 external HDD, that will…
Basj
  • 800
  • 3
  • 21
  • 49
1
vote
0 answers

How to encrypt whole file system of Raspbian Buster

We have done a project with Raspberry Pi 3B. I have read something about filesystem encryption of the Raspberry Pi/Raspbian. Also, I read this question which answered years ago (too old!). I didn't understand the ways. My purpose is to prevent…
Mohi Rostami
  • 4,434
  • 1
  • 20
  • 39
0
votes
1 answer

LUKS unlock prompt invisible on Raspberrypi 5

I encrypted the root partition of my RPI 5 like this: Burn the image to the SD card and perform a regular boot. Install cryptsetup and cryptsetup-initramfs. Make the following modifications (see e.g. here): /boot/config.txt: Set auto_initramfs=0…
0
votes
0 answers

LUKS passphrase over ssh is not working

I followed stinky parkia's guide to unlocking device over ssh. However, the password is not working. I am able to reach the shell to enter the passphrase but it's simply not accepting the correct password and keeps telling me cryptsetup: cryptsetup…
atb00ker
  • 101
1
2