Making the world a better place, one genetic experiment at a time.

> _

gopher://umbrellacorp.io

  • 2 Posts
  • 55 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle


  • I think it expects you to use a standardized device name structure such as wg0 however it doesn’t exactly (or rather clearly) enforce this, and it tries to name the new device whatever the file is named during the import step.

    This problem is somewhat compounded by VPN providers, who often generate some long filename when you export a WG config.










  • Dr. Wesker@lemmy.sdf.orgOPtoLinux@lemmy.mlcryptsetup hanging?
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    I’m not using systemd. Grepping on Slot doesn’t return any results.

    LUKS header information
    Version:       	2
    Epoch:         	3
    Metadata area: 	16384 [bytes]
    Keyslots area: 	16744448 [bytes]
    UUID:          	<redacted>
    Label:         	(no label)
    Subsystem:     	(no subsystem)
    Flags:       	(no flags)
    
    Data segments:
      0: crypt
    	offset: 16777216 [bytes]
    	length: (whole device)
    	cipher: aes-xts-plain64
    	sector: 512 [bytes]
    
    Keyslots:
      0: luks2
    	Key:        512 bits
    	Priority:   normal
    	Cipher:     aes-xts-plain64
    	Cipher key: 512 bits
    	PBKDF:      argon2id
    	Time cost:  8
    	Memory:     1048576
    	Threads:    4
    	Salt:       <redacted>
    	AF stripes: 4000
    	AF hash:    sha512
    	Area offset:32768 [bytes]
    	Area length:258048 [bytes]
    	Digest ID:  0
    


  • Dr. Wesker@lemmy.sdf.orgOPtoLinux@lemmy.mlcryptsetup hanging?
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago
    # Tests are approximate using memory only (no storage IO).
    PBKDF2-sha1      2957901 iterations per second for 256-bit key
    PBKDF2-sha256    4946113 iterations per second for 256-bit key
    PBKDF2-sha512    1945410 iterations per second for 256-bit key
    PBKDF2-ripemd160 1123875 iterations per second for 256-bit key
    PBKDF2-whirlpool  773286 iterations per second for 256-bit key
    argon2i       8 iterations, 1048576 memory, 4 parallel threads (CPUs) for 256-bit key (requested 2000 ms time)
    argon2id      8 iterations, 1048576 memory, 4 parallel threads (CPUs) for 256-bit key (requested 2000 ms time)
    #     Algorithm |       Key |      Encryption |      Decryption
            aes-cbc        128b      1794.0 MiB/s      6427.8 MiB/s
        serpent-cbc        128b       107.4 MiB/s       765.7 MiB/s
        twofish-cbc        128b       275.7 MiB/s       498.2 MiB/s
            aes-cbc        256b      1392.5 MiB/s      5266.3 MiB/s
        serpent-cbc        256b       114.8 MiB/s       798.4 MiB/s
        twofish-cbc        256b       284.6 MiB/s       498.7 MiB/s
            aes-xts        256b      5290.1 MiB/s      5322.6 MiB/s
        serpent-xts        256b       697.6 MiB/s       635.9 MiB/s
        twofish-xts        256b       403.4 MiB/s       413.4 MiB/s
            aes-xts        512b      4070.4 MiB/s      4048.9 MiB/s
        serpent-xts        512b       664.6 MiB/s       642.0 MiB/s
        twofish-xts        512b       417.6 MiB/s       421.7 MiB/s
    




  • Dr. Wesker@lemmy.sdf.orgOPtoLinux@lemmy.mlcryptsetup hanging?
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 months ago

    Oddly, after a few tries I managed to get past. I religiously back things up, and just last night pushed all my current dots.

    I’m gonna run some drive diagnostics. If everything looks good, I’ll just repartition and take this as a sign to only use encryption on secondary drives where I backup sensitive info.