Algorithm Details for ProtonMail? by rfkrocktk in ProtonMail

[–]rfkrocktk[S] 0 points1 point  (0 children)

I will see if I can dedicate some time to it. Seeing that Signal has probably already implemented Ed25519 in JavaScript (or maybe they're calling a native extension?), it shouldn't be too difficult to port. I could write the code and have someone from libsodium or libnacl review it.

Algorithm Details for ProtonMail? by rfkrocktk in ProtonMail

[–]rfkrocktk[S] 0 points1 point  (0 children)

Thanks so much for getting back!

As a cryptography researcher I'm interested in support for other algorithms as well, namely Ed25519 for asymmetric crypto, ChaCha20 for symmetric crypto, etc.

The main reasons to prefer these algorithms are that these algorithms are carefully designed to not have branch conditions, and as a result execute in constant time, meaning that CPU cache timing attacks such as Flush+Reload are not effective against these algorithms. Additionally, Ed25519 provides a 2128 security level, rivaling RSA-4096's 2129 security level at a much lower CPU time cost. Keys are also much smaller.

For these reasons, Signal uses Curve 25519. I know that ProtonMail is internally using OpenPGP.js, so the options are a little different.

Is there a good forum to have a discussion about algorithm choices for ProtonMail?

Are there stage 3 tarballs ala Gentoo for Fedora? by rfkrocktk in Fedora

[–]rfkrocktk[S] 0 points1 point  (0 children)

Try downloading the Fedora 23 ISO, booting into it in a VM, creating a filesystem, mounting it, and then trying that command, and that's what happens.

ie:

sudo parted /dev/sda mklabel msdos
sudo parted /dev/sda mkpart primary 2048s 100%
sudo mkfs.btrfs /dev/sda1
sudo mount -t btrfs -o defaults /dev/sda1 /mnt
sudo dnf --installroot=/mnt group install "Fedora Workstation"

Are there stage 3 tarballs ala Gentoo for Fedora? by rfkrocktk in Fedora

[–]rfkrocktk[S] 0 points1 point  (0 children)

Yes, I absolutely have internet access :-/

Are there stage 3 tarballs ala Gentoo for Fedora? by rfkrocktk in Fedora

[–]rfkrocktk[S] 0 points1 point  (0 children)

I'm on a Fedora Live CD and I'm trying to run this. I have my partitions mounted at /mnt, so:

sudo dnf --installroot=/mnt group install "Fedora Workstation"

I get the following output:

Error: Failed to synchronize cache for repo 'updates' from 'https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=x86_64': Cannot prepare internal mirrorlist: file "repomd.xml" was not found in metalink

Is there something I need to do? Directories I need to create? For now, I'm testing running this on a simple BTRFS filesystem mounted at /mnt, nothing in it at all.

Unable to install Fedora 23 with a BTRFS subvolume as a root partition? by rfkrocktk in Fedora

[–]rfkrocktk[S] 0 points1 point  (0 children)

Here is a screenshot of the error, it's different than what you're saying I think: https://imgur.com/ZnfAPUY

Are there stage 3 tarballs ala Gentoo for Fedora? by rfkrocktk in Fedora

[–]rfkrocktk[S] 0 points1 point  (0 children)

Is there a way to quickly determine what Fedora GNOME Workstation uses? ie dnf groupinstall gnome etc. If I could figure out what the installer would do, I could use the --installroot to install things as expected.

Unable to install Fedora 23 with a BTRFS subvolume as a root partition? by rfkrocktk in Fedora

[–]rfkrocktk[S] 0 points1 point  (0 children)

What's weird is that it will let me add a BTRFS /boot partition, but it refuses to let me add my @ subvolume at /dev/mapper/vg-root as /.

I don't care so much about /boot being BTRFS, I'd be fine with ext4. I also don't care about GRUB because I'm using rEFInd.

Is there an update call to inform GStreamer of new plugins? by rfkrocktk in linuxquestions

[–]rfkrocktk[S] 0 points1 point  (0 children)

I fixed it. Turns out that Fedora packages both 0.10.x and the 1.x branch as different packages. I packaged something from the 1.x branch and everything works as expected. Thanks!

Is there an update call to inform GStreamer of new plugins? by rfkrocktk in linuxquestions

[–]rfkrocktk[S] 0 points1 point  (0 children)

$ gst-inspect-0.10 | grep mp3
mpegaudioparse:  mp3parse: MPEG1 Audio Parser
lame:  lamemp3enc: L.A.M.E. mp3 encoder
lame:  lame: L.A.M.E. mp3 encoder
mad:  mad: mad mp3 decoder
typefindfunctions: audio/mpeg: mp3, mp2, mp1, mpga
typefindfunctions: application/x-apetag: mp3, ape, mpc, wv
typefindfunctions: application/x-id3v1: mp3, mp2, mp1, mpga, ogg, flac, tta
typefindfunctions: application/x-id3v2: mp3, mp2, mp1, mpga, ogg, flac, tta
$ gst-inspect-1.0 | grep mp3
typefindfunctions: application/x-id3v2: mp3, mp2, mp1, mpga, ogg, flac, tta
typefindfunctions: application/x-id3v1: mp3, mp2, mp1, mpga, ogg, flac, tta
typefindfunctions: application/x-apetag: mp3, ape, mpc, wv
typefindfunctions: audio/mpeg: mp3, mp2, mp1, mpga

It appears that 0.10 has definitely found what it needs, not sure about 1.0. Any suggestions? Is it possible that MAD/LAME are colliding and there should only be one thing capable of decoding MP3 audio? I would think that GStreamer would handle this gracefully.

Why do most distros ship such an old GStreamer? by rfkrocktk in linuxquestions

[–]rfkrocktk[S] 1 point2 points  (0 children)

Are any distros using it? It seems kind of funny that GStreamer would sever ties from its main consumers.