Score: 1
sander avatar
In PKCS#11, can I set a custom base point for a secp256r1 ECDSA signature?
cl flag

According to FIPS 186-4 § D.1.1.5 Choice of Base Points I should be able to create ECDSA signatures with custom base points on P-256 (secp256r1).

Does standard PKCS#11 support this feature?

This is how far I got building example code, based on org.xipki:ipkcs11wrapper:1.0.4 and SoftHSM 2.6.1:

import org.xipki.pkcs11.wrapper.*
import org.xipki.pkcs11.wrapper.PKCS11Constants.*
import org.xipki.pkcs11.w ...
Score: 0
Amedee avatar
Installing ubuntu on two drives: ssd and hdd
gr flag

I have a desktop (8 GiB RAM) and installed Ubuntu in the standard way (erase disk and install Ubuntu - nothing else ;-)). But it kept booting in windows... finally - as a newbie - I understand the desktop has a ssd and hdd drive...

Anyway, after reading the following:

  1. How would I install Ubuntu with two hard drives
  2. https://www.linuxjournal.com/content/installing-ubuntu-two-hard-drives

I need the ...

Score: 0
Byron R avatar
How to re-install R 4.2.0
pl flag

I have been running R version 4.2.0 on Ubuntu 20.04.4 LTS. Recently R was updated to 4.3.0 on my system, but for my current work I need to return to version 4.2.0. I uninstalled R using the instructions linked below, performed the cleaning step, and altered the command in step 3 to the following:

sudo apt-get install r-base=4.2.0

I tried a few variations on this command including sudo apt-get in ...

Score: 0
starlume avatar
Get Roblox installed with wine out of my desktop
au flag

I installed Roblox with Wine on Ubuntu, but it went to my desktop with 2 .link files, and the Roblox Studio.desktop file and Roblox Player.desktop file. This is horribly disorganized, I tried moving them but they only work on my desktop, it's incredibly annoying. How do I make a file that can start it from my games folder instead?

Score: 0
tomas avatar
bitnami/nginx - stop generating RSA key pair
pt flag

Please is there a way to stop bitnami/nginx to generate RSA key pair on start (since I am not using SSL in nginx.conf)?

It takes 25-30 seconds to start the app :(

Thanks

nginx 20:56:32.30
nginx 20:56:32.50 Welcome to the Bitnami nginx container
nginx 20:56:32.80 Subscribe to project updates by watching https://github.com/bitnami/containers
nginx 20:56:33.00 Submit issues and feature requests at https://g ...
Score: 0
cbrng avatar
Accidentally removed a lot of drivers, etc. How can I reinstall them from a USB (no network access)?
in flag

Long story short, autoremove removed a ton of things including Settings, network-manager and many related network options, etc.

I still have ifconfig and can see my network cards, but I can't connect to anything. I've tried many command line methods of connections but nothing worked.

I cannot reformat this machine, and I cannot boot into the live USB and mount as it is an encrypted drive. I have to  ...

Score: 3
Daniel Moore avatar
On 22.04, laptop screen dims to 0 when unplugging power cable. With my old eyes, I can't see the screen to increase brightness again
zw flag

Searched for answers, and there were very old posts that gave solutions that haven't worked now for many years. I'm using Ubuntu 22.04 on a Lenovo IdeaPad Flex 14-API.

When the screen dims to its lowest brightness, I can't even read it in a dark room. Why, Ubuntu?

Is there a solution to prevent screen dimming or any brightness adjustments when plugging or unplugging the laptop? I have the brightness ...

Score: 0
MikeFUT avatar
Audit logging in Microsoft 365 doesn't work for one tenant
tw flag

I am taking care of a few Microsoft 365 tenants and I set up audit logging for all of them.

One of these tenant only provides administrative audit logs but no user audit logs (for example no logs about deleted item from exchange mailbox or downloaded file from OneDrive etc.).

All the tenants use the same licensing (mix of "Microsoft 365 Standard, Essentials, Premium, Exchane Online).

These steps I have ...

Score: 0
How do you retain correct table width in openstack when pipeing to less?
it flag

If you set CLIFF_FIT_WIDTH=1, openstack cli will fit table output to the screen width.

However, this breaks if you try and pipe to less.

It seems like a possible workaround could be: alias openstack='openstack --max-width "$(tput cols)"' but this seems hacky. Is there a flag or env var for openstack cli I missed so that I can pipe the output to less without the width breaking?

Score: 0
user1692021 avatar
How to limit tar process to not utilize IO at max?
ag flag

So I have a server where I have important processes running 24/7, and once per day I run a backup of a specific folder like this:

time tar cf ${HOME}/${SNAP_NAME} -C ${DATA_PATH} . &>>${LOG_PATH}

The problem I have is that, during this backup process, all of my other processes stop running, or have very poor performance because tar is utilizing IO disk writing at max.

My question is if t ...

Score: 0
Alexander Brehm avatar
rb_sys_fail_path_in(rb_file_s_rename, (filepath1, filepath2)- errno == 0 error when running a newly installed version of chef
fr flag

I have 1 box that seems to not want to run chef, while I have 5 other identical boxes that are working just fine using the same rhel and chef versions. On the non-working box, Chef runs correctly when the runbook is empty, but it fails when I add something to the runbook and try again.

Here is some of the error that is returned

/opt/chef/embedded/lib/ruby/2.6.0/fileutils.rb:529: [BUG] rb_sys_fail_path ...
Score: 0
Lucas Rocha avatar
Slow internet connection How to investigate?
fi flag

About 2 days ago the internet on my laptop (dell vostro 3550/Ubuntu 22.04) suddenly became pretty slow. The internet is working fine when I connect from an Android phone.

So, how can I investigate the problem? Where to begin?

I appreciate any help.

########## wireless info START ##########

Report from: 28 Apr 2023 22:39 -03 -0300

Booted last: 28 Apr 2023 00:00 -03 -0300

Script from: 25 Jan 2020 03:34  ...
Score: 1
bendodge avatar
Exchange Transport Rule to block combination of recipients?
us flag

Is it possible to create an ETR that blocks certain combinations of recipients? Imagine I have two customers in different domains with similar email addresses. I want to prevent sending to recipient lists that inadvertently mix users from the two domains.

Ideally, I'd block outbound messages with *@domainA.com AND *@domainB.com recipients. Also, blocking outbound messages with [email protected] AND ...

Score: 2
alphaulos avatar
Ubuntu 22.04 is not directing to the main desktop screen after starting up
pw flag

Every time, I start up my Ubuntu, I always need to click this workspace screen in order to get the main desktop. How do I get rid of this? After starting up, I want it to direct me to the main desktop, not to this screen where there is a search box.

Please see screenshot

Score: 1
Broken Arrow avatar
Which domain/host to use with certificate for mail server
sr flag

I am having difficulties (confused) understanding SSL for a domain for mail server. GMail "send mail as" set up is reporting error with "550 certificate name does not match host name" while trying to connect with SSL/TLS.

Domain: domain.com

Mail domain: mail.domain.com

Email account: [email protected]

DNS

A domain.com IP

CNAME mail domain.com

MX @ domain.com

Tried with SSL certificates for both doma ...

Score: 0
André Frisk avatar
Aspire A514-55 Bluetooth not working properly
dz flag

When i received my laptop which is a Acer Aspire A514-55 and installed Ubuntu 22.04 on it I noticed quite early that something is not working properly with Bluetooth. When i turn it on the Settings panel nothing happens. I checked if the laptop could detect the Bluetooth adapter, and yes it did (with this command sudo lsusb | grep Bluetooth. I also checked with systemctl if its on and yes it is (hciconf ...

Score: 1
batman avatar
Introducing differential privacy in two different ways
li flag

I would like to investigate if it is possible to introduce Differential Privacy (DP) to a model via both adding Laplacian noise to the training data and then training with DP-SGD updates. Is it a valid way to introduce DP ?

In other words, if we separately applied Laplacian noise to the data the system would be assigned with (ε1,0)-DP per epoch and if we trained with DP-SGD it would be assigned  ...

Score: 1
sim.dll avatar
The system does not differentiate between text and Arduino files
er flag

I use ubuntu 22.04 LTS with Gnome 42.5 on wayland. I have installed the latest version of the Arduino IDE (an .AppImage file). My problem is that when I have to open the sketches from the file manager (I use Gnome Files) it either recognizes the .ino files as plain text files or as C source files. If I set the Arduino IDE as default to open the file .ino, then I always open all text files with Arduino.  ...

Score: 2
user1691993 avatar
Ubuntu 23.04: No Speaker Sound with Realtek ALC245 on HP ENVY Laptop
ci flag

No sound from internal speaker

I have tried ubuntu 22.04, 22.10, 23.04 still no sound

$ uname -a
Linux HP-ENVY 6.2.0-20-generic #20-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr  6 07:48:48 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ inxi -Fxz
System:
  Kernel: 6.2.0-20-generic arch: x86_64 bits: 64 compiler: N/A Desktop: GNOME
    v: 44.0 Distro: Ubuntu 23.04 (Lunar Lobster)
Machine:
  Type: Convertible Syst ...
Score: 0
Xuth avatar
FUSE mounted filesystems and snap applications
vi flag

I've seen lots of questions asking about snap applications and trying to use them to access FUSE mounted file systems. But none of the responses to those questions that I can find give or link to explicit directions on how you can get a snap application (that presumably has the necessary connection options) working with (in my case) an sshfs mount. I've seen lots of things that say "if you mount it in ...

Score: 0
BellyGod avatar
"Save image as" in Chrome and Firefox not working as before
cn flag

Until now when I would right-click on an image in the Chrome or FF browsers a window would pop up that allowed me to type a name for the image to be saved WITHOUT having to click into the window to make it active. In other words, I could simply right-click, select "save image as," then type the name I want and press Enter to save -- done! But now when I go to save an image I have to click into the name  ...

Score: 0
user1691992 avatar
Firefox (not snap) looks different after install 22.04
bi flag

I did a fresh install of Ubuntu 22.04 yesterday (Live usb on a Lenovo Thinkpad, dual-boot with Windows 10). Since the install, the appearance of websites in Firefox has changed: all content (google search, any website) looks as if it's been centred/moved to the right, whereas before everything was left-aligned.

I thought it was a snap-issue but I've since installed Firefox via the terminal (a non ...

Score: 1
Piloti avatar
AppImage Ubuntu 23.04
us flag

Yesterday I was on Ubuntu 22.10. My email client [an AppImage] worked just fine.

Today I'm on 23.04 and the email client will not open. I've re-downloaded the Appimage and nothing.

Question: Are AppImages borked in 23.04?

If yes, is there a "how to roll back" process listed somewhere?

Score: 1
DougM avatar
Logical conundrum in automatically installing libraries
lr flag

I have a bit of code that attempts to install a library if it doesn't already exist - this is for deployment on many machines so I'm trying to automate as much as possible.

My code looks like this:

try:
    import pymssql
except ImportError:
    # weirdly this only works in Windows.  You'll need to find a workaround for Ubuntu
    os.system('python -m pip install pymssql')
    import pymssql

the output g ...

Score: 0
24601 avatar
Keyboard application Shortcut
in flag

It used to be the case that using Ctrl + ; (semi-colon) (specifically but not limited to) Google Sheets would insert the current date in a cell (assuming the cell format is set to do so) but just recently, I have noted that this shortcut produces an underlined e char and pressing space adds an additional context menu. Pressing Enter removes the character and control to the cell is restored after anoth ...

Score: 0
How to continue to use expired GPG keys (but still verify signatures)?
jp flag

So MongoDB 4.0 key has expired (forum post, forum post). I know that I can make it so that apt does not validate signatures (with --allow-unauthenticated or --allow-insecure-repositories flag), but I would not like to completely ignore signatures, I would like that the signature is still checked, only that expiration of the key is ignored. The key has not been compromised, so signatures are still secure ( ...

Score: 2
anthonychwong avatar
Best practices on implementing a password manager
lk flag

I'm a dev new to security and cryptography.

I'm writing a password manager and Time-based OTP combo in dart/flutter to use in multiple devices and platform for fun and use it personally for real. I have done some reading over google, stackoverflow.com and crypto.stackexchange.com, came up with following skeleton, and here to ask for some further security advice, for encryption, implementation and ...

Score: 0
Cat Dragon avatar
How to use NIST SP 800-22 to check randomness of 128 bits output in AES?
it flag

I am trying NIST SP 800-22 to test the randomness of 128 bit output in AES, but i always get igamc: UNDERFLOW or Segmentation fault (core dumped) error.

My data file has 128 bit output format, for example as follows:

01101100010001011111011101010011011000000101111001111100010010111011111001010011101101000000111011011100011011101101100011011001
00000000101100000010110001100100101101000010010010110101 ...
Score: 2
pintor avatar
Fiat-Shamir with interactions
ng flag

Suppose we have a standard $\Sigma$-protocol for proving the knowledge of a witness $x$ for the statement $y$. It has an honest-verifier ZK and special soundness. Now we do an unusual modification to get an interactive $\Sigma'$-protocol in ROM:

  1. The prover $\mathcal{P}$ compute $a$ exactly like in $\Sigma$-protocol and sends it to the verifier $\mathcal{V}$.
  2. The verifier $\mathcal{V}$ replies with ...
Score: 0
Missing libmpdec2 for deadsnakes libpython3.9-stdlib in 22.04 LTS (jammy)
my flag

From deadsnakes at http://ppa.launchpad.net/deadsnakes/ppa/ubuntu the libpython3.9-stdlib depends on libmpdec2, but that is not available on 22.04 LTS (jammy) as far as I can tell, see https://packages.ubuntu.com/search?keywords=libmpdec2. The page displays that libmpdec2 is available for 18.04 LTS and 20.04 LTS. What is to do in this case?

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.