Nitrokey / nitrokey-storage-firmware

Firmware for the Nitrokey Storage device
GNU General Public License v3.0
54 stars 19 forks source link

Allow changing of unencrypted/encrypted storage ratio dynamically (without reflashing) #39

Closed stgarf closed 9 months ago

stgarf commented 7 years ago

How large is the storage capacity?

Nitrokey Pro, Nitrokey Start, Nitrokey HSM and Nitrokey U2F don't contain storage capability for ordinary data (it can only store cryptographic keys and certificates). Nitrokey Storage can store and encrypt 8, 32, or 64 GB of data (depending on particular model).

Upon receiving the device this doesn't appear to be the case. I have a 2GB unencrypted partition and after initializing the device there's another ~5.5GB encrypted device that I'm able to format to whatever filesystem I wish. My question is, how do I reclaim some of that 2GB and shrink it. Or in fact, how can I expand it -- for instance, to install Arch+i3+GRUB etc (might need a bit more than 2GB).

szszszsz commented 7 years ago

Hi! I have seen in one of the forks someone has changed the unencrypted/encrypted ratio: https://github.com/mupuf/nitrokey-storage-firmware/commit/14e6a786f6875fb783b3a3bff24abdaf6a1e901b I do not know how is it supported from official side.

szszszsz commented 7 years ago

Let me know if I understand this correctly: what you would like to do is to change unencrypted/encrypted ratio of the storage without changing/replacing the firmware, is that right?

stgarf commented 7 years ago

Yes but if theres diff firmware thats needed to do that that would work but flashing might be prohibitive for some people.

On Fri, Jun 23, 2017 at 3:15 AM szszszsz notifications@github.com wrote:

Let me know if I understand this correctly: what you would like to do is to change unencrypted/encrypted ratio of the storage without changing/replacing the firmware, is that right?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Nitrokey/nitrokey-storage-firmware/issues/39#issuecomment-310628713, or mute the thread https://github.com/notifications/unsubscribe-auth/ABnZMjL4ehiEM-2Bgmzaqz22ch5DysvJks5sG5A7gaJpZM4N2At7 .

szszszsz commented 7 years ago

I see. I have updated the title then to better express this intention. Indeed it might be a nice function, I do not know though how is it with its feasibility.

Peacekeeper2000 commented 6 years ago

I would support this too !