## What’s the block cipher mode of my PEM certificate?

How can I find out the mode block cipher used in a PEM certificate I have? It’s been generated with an intermediate CA that does sha256WithRSAEncryption but I need to find out if it’s a GCM or CBC to properly configure some devices.

## Is there any drawbacks of “accepting all cookies” while in incognito mode?

Since the GDPR landed, many websites have to inform you about their cookie usage and give you an option to enable/disable them for provider and for reason of storage. Say that I find a link I want to read but they ask for consent of storing cookies in my device (which I would rather not, if possible)

Am I fine if I open a private/incognito window and accept all cookies there and close it after I’m done?

The reason behind this is because having to withdraw consent of all links I click quickly becomes a tedious task. Please also note that disabling cookies is not an option for two reasons: there are sites from which I want to store cookies and I intend to do this in all of my devices, not only in a specific system

## Tunnel and Transport Mode in IPSec, is it possible to combine them?

I’ve been wondering between two cases,

1 – tunnel from A to C and a tunnel from B to D, would it be possible to send a packet for A to D?

2 – Transport from A to D, and let’s say tunnel from B to D

Would it be possible to send a packet in any of these cases?

I assume for case 1 it wouldn’t be possible because of SA, and decryption would get messy But for the second case, I mean, that does sounds logical to me..

## Alfa wireless card monitor mode problem [closed]

I have a wireless card (Alfa AWUS036H) that I use for pen-testing on my test network. Due to my recent interest in network hacking, I picked up this card and put it into monitor mode. While it scanned networks fine and picked up strong signals from neighboring networks, if I disconnected it or restarted my computer the next day, it would not discover any networks using the command `airodump-ng wlan0mon` wlan0mon being the interface of the card.

To get the card to work again, I would have to restart the virtual box, unplug the device or even restart my computer multiple times to get it to work. I don’t know if it is a software problem or a hardware issue. If this was a real-world situation this would in no way be practical.

I run kali-linux 2019.1 on virtual-box 5.2. My computer runs on Windows 10.

## is there something like a “foreach” mode from the command line? Like in perl?

With perl we can run perl -p . That wraps a foreach loop around the code and executes the code on the file. What I’m looking for is something like

StringReplace[filename,”\t”->”,”]

and then I get a new file in which the string replace happened (the above would convert a .tsv to a .csv). Doesn’t have to be StringReplace, can be anything that takes a line of stuff as input. Total[filename] would total all numbers in the rows of the file.

That is like “scripting” the M command line-by-line (during MS-DOS we used to call that “batch mode” — really means line-by-line).

## With a USB Type-C port, can you switch DisplayPort or HDMI Alternate Mode back to USB after using an adapter? [on hold]

USB Type-C itself is just a connector, and it supports DisplayPort Alternate Mode, as well as HDMI Alternate Mode, depending on the manufacturer.

Does this at all mean that if you’re using a DisplayPort or HDMI adapter in your USB Type-C, e.g., on a MacBook Air, then the monitor’s side itself could switch back from the Alternate Mode of DisplayPort or HDMI back to the plain-old USB?

## Trouble while running gem5 in full system mode [on hold]

I am not able to run gem5 in full system mode. I have followed the commands below —— rohit@rohit:~\$ mkdir full_system_images

rohit@rohit:~\$ cd full_system_images

rohit@rohit:~/full_system_IMAGES\$ wget http://www.m5sim.org/dist/current/x86/x86-system.tar.bz2

rohit@rohit:~/full_system_IMAGES\$ tarjxf x86-system.tar.bz2

rohit@rohit:~/full_system_IMAGES\$ echo “export M5_PATH=/home/rohit/full_system_imagrohit@rohit:~/full_system_IMAGES” >> ~/.bashrc

rohit@rohit:~/full_system_IMAGES\$ gedit ~/.bashrc

rohit@rohit:~/full_system_IMAGES$$echo$$M5_PATH

rohit@rohit:~/full_system_IMAGES\$ cd

rohit@rohit:~\$ cd gem5

rohit@rohit:~/gem5\$ build/X86/gem5.opt configs/example/fs.py –disk-image=/home/rohit/full_system_images/disks/linux-x86.img

After running this command, I got error as——–

Traceback (most recent call last): File “”, line 1, in

File “build/X86/python/m5/main.py”, line 457, in main exec(filecode, scope)

File “configs/example/fs.py”, line 342, in test_sys = build_test_system(np)

File “configs/example/fs.py”, line 93, in build_test_system cmdline=cmdline)

File “/home/rohit/gem5/configs/common/FSConfig.py”, line 607, in makeLinuxX86System makeX86System(mem_mode, numCPUs, mdesc, self, Ruby)

File “/home/rohit/gem5/configs/common/FSConfig.py”, line 532, in makeX86System disk0.childImage(mdesc.disk())

File “/home/rohit/gem5/configs/common/Benchmarks.py”, line 59, in disk return disk(self.diskname)

File “/home/rohit/gem5/configs/common/SysPaths.py”, line 62, in call raise IOError(“Can’t find a path to system files.”)

IOError: Can’t find a path to system file.

Please, help me to fix this problem.

## Should my app only honor “Dark Mode” settings in the OS?

I’m playing around with the idea of a dark mode for my app.

I’d like to simply honor the operating system settings but I know there’s been situations I’ve personally been very happy some apps allow an app level override. My situation is I don’t have a place for settings in my app and building it for this seems silly.

Any research done on this and what users have come to expect?

## How to check if hard disk was removed while in sleep mode?

Let’s say that some malicious person extracts my hard disk (HDD or SSD) from my laptop, while it is in sleep mode. Is there a way to check for that event?

I am mostly interested for Ubuntu OS, but if there are differences between other operating systems, feel free to note.

## Portrait vs Landscape Mode

Portrait & Landscape layouts – What is the UX guidelines for making two distinct layouts i.e. where the layouts will be significantly different from each other.