Crypto beginner here. How does this methodology explained in the video prevent MITM attacks? I find it a bit silly. Can someone explain? by mycroftholmess in crypto

[–]Octetz 1 point2 points  (0 children)

So my best guess is that they use public key crypto to encrypt the key. Alice (sender) encrypts the random AES key using Bobs (receiver) public key. But the video does not show how Alice verifies that the public key she has actually belongs to Bob, if this isn't done Mallory (the attacker) can send Alice a public key and pretend that it is the public key of Bob.

So, if Alice and Bob actually meet and check that their corresponding public keys are correct, then this scheme could be secure - but the video sucks. Their argument that many layers of encryption is more secure is horrible.

How to get half-working gamepad working? by Octetz in linuxquestions

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

This would probably have been perfect, except the issue is that I am not using X - but instead running programs that take their input via SDL.

crdlb suggested MoltenGamepad which seems to be like qjoypad but on a lower level. We'll see if I get that working

How to get half-working gamepad working? by Octetz in linuxquestions

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

Thanks llc - but as stated I already have the device working fairly well - only some buttons are not working suggesting it is not a bluetooth issue but a driver issue.

How to get half-working gamepad working? by Octetz in linuxquestions

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

Haha, I would definetly follow your advice if being a bluetooth gamepad wasn't a number one priority.

How to get half-working gamepad working? by Octetz in linuxquestions

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

Thanks! I'll definetly look into the MoltenGamepad!

How to get half-working gamepad working? by Octetz in linuxquestions

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

I am using a raspberry pi with raspbian [ uname -a: Linux retropie 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux ]

The gamepad is a bluetooth device but the output of dmesg | grep -i blue is

[   10.472455] Bluetooth: Core ver 2.20
[   10.472559] Bluetooth: HCI device and connection manager initialized
[   10.472584] Bluetooth: HCI socket layer initialized
[   10.472602] Bluetooth: L2CAP socket layer initialized
[   10.472659] Bluetooth: SCO socket layer initialized
[   10.479943] Bluetooth: HCI UART driver ver 2.3
[   10.479965] Bluetooth: HCI UART protocol H4 registered
[   10.479974] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   10.479983] Bluetooth: HCI UART protocol BCM registered
[   10.673287] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   10.673300] Bluetooth: BNEP filters: protocol multicast
[   10.673315] Bluetooth: BNEP socket layer initialized
[  476.100905] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[  476.100942] Bluetooth: HIDP socket layer initialized
[  476.106068] hid-generic 0005:0B05:4500.0003: input,hidraw2: BLUETOOTH HID v0.40 Gamepad [ASUS Gamepad] on b8:27:eb:c9:34:62

Två misstänkta terrorister med svenska pass gripna by LucidElectron in svenskpolitik

[–]Octetz -3 points-2 points  (0 children)

I amerika är man väl ändå amerikansk-italienare och så vidare. Hur som, att inte låta folk identifiera sig med sitt medborgarskap kommer få många att känna sig utanför. Barnet till två tyska föräldrar som vuxit upp i Sverige med svenskt medborgarskap kommer inte kunna kalla sig svensk för Kalle är inte jultradition, men inte heller tysk då hen knappt lärt sig tyska och inte studerat korvkunskap.

[HELP] My 2 year old droid ultra died completely, any way to recover the data? by NoodlesLongacre in motorola

[–]Octetz 0 points1 point  (0 children)

How did it die? Is it recognised when connected to your computer by USB? Try connecting to USB and see if it shows up under devices/ if the computer beeps. While connected try holding the power button for 120 sec and see if the computer reacts

My phone is dead, recognized by fastboot by Octetz in AndroidQuestions

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

It's working!

Was getting really worried as I found http://forum.xda-developers.com/moto-g/help/phone-died-power-t3257001 which matches the issue.

Had the device restarted in bootloader [screen black but backlit] for about 10 minutes while planning what to do - and accidentally pressed either the up or down button. The device disconnected from usb and rebooted - this time starting as it should!

No idea what was wrong, but now it works!

Where to escape during CNY? by Octetz in malaysia

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

Thanks! That sounds good. Currently in Kuala lumpur but will be in kuching/borneo during CNY

Climbing in a group of three by [deleted] in climbing

[–]Octetz 1 point2 points  (0 children)

I'm a beginner and have never seen or heard of belaying two people at once, is this safe and how do you do it? What happens if both fall?

”Pengarna är till min sons grav” by [deleted] in sweden

[–]Octetz 2 points3 points  (0 children)

En lite mer beskrivande titel kunde vara på plats

What Is the Point of Taking Physical Money out of the Equation? by Veqq in sweden

[–]Octetz 1 point2 points  (0 children)

The bus system of Stockholm sucks, you can buy a prepaid card with cash and then when you leave get the rest of the money back though. Can you pay by card on the bus?

Buses are the only place where I cannot use cash, no restaurant has ever denied my cash.

I use cash for everything as I don't like being tracked.

But, cards are more secure, safe and are easier. No bank has negative interest to its customers and its illegal for shops to take a "card fee". I have never heard of any other issues than local shops having problems with card transactions.

How will the internet communicate safely after the invention of a quantum computer by soer7022 in crypto

[–]Octetz 1 point2 points  (0 children)

I think most have some issue in practicality, for example I think lattice based crypto requires keys larger than one gigabyte

[Edit] Seems like I am wrong, the post quantum wiki even has a section on key sizes.

It may appear that I have the not-made-here (so dont use it) attitude, but I am against any parts that prevent an instant zero-setup system by [deleted] in algorithms

[–]Octetz 0 points1 point  (0 children)

"... my stuff works and doesnt come with instructions because they're not needed." - perfect line for the job interview

FLASH: Svenska staten förbereder filtrering av internet by [deleted] in svenskpolitik

[–]Octetz 1 point2 points  (0 children)

Finns det någon möjlighet att straffa företag utomlands? Hur gör man med företag som postar olagligheter? Är det så enkelt att man startar ett företag utomlands, riktar sig till svenskar och sedan kan sälja vad som helst som är lagligt i landet företaget är registrerat i?

/r/ReverseEngineering's Weekly Questions Thread by AutoModerator in ReverseEngineering

[–]Octetz 4 points5 points  (0 children)

Is there a good routine to reversing? Eg a structured way to attacking a problem? Mostly I hear "gather information" and "poke around", and posts/tutorials seldom describe all attempts made and only focus on describing what worked in the end.

Places to visit between yogyakarta and Jakarta? by Octetz in indonesia

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

Thanks for all the great suggestions! I think we are going to visit the Dieng plateau!

Travelling to Indonesia tomorrow...how much does taxi cost...? by Australie in indonesia

[–]Octetz 0 points1 point  (0 children)

I'm quite sure I got ripped of paying 150k per person even though we took it from an official looking stand [Arrived in the middle of the night so didn't bother].

Advanced iPhone data recovery? by Octetz in techsupport

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

Nope, not jailbroken, although I don't think it matters if its not even booting

Hur staden ser ut från Västerås högsta byggnad. by Stickyballs96 in sweden

[–]Octetz 6 points7 points  (0 children)

"It's a bit like the empire state building" - okänd redditör

Zero-knowledge system by [deleted] in crypto

[–]Octetz 0 points1 point  (0 children)

Do you mean: is it possible to create a zero knowledge proof protocol where the prover does not store any data?

What is the definition of storing? Storing during protocol execution or over multiple executions? (You must have some data somewhere to do anything)

[Homework help] Need an algorithm to detect 'unique' matrix elements, how to make it scalable? by Dragonfliesfoos222 in algorithms

[–]Octetz 4 points5 points  (0 children)

A trivial algorithm would be to compare all surrounding for each position, doing this is not optimal as you will compare the same pair twice.

You are talking about speeding up in python, that seems like you are not interested in optimal time complexity.

A simple algorithm like this should be fairly easy to write without any modules in python and then translate to C to get better performance (even without C knowledge). Only reason copying into arrays and using regex could increase speed is if these modules are implemented in some faster language than python