How to recover the unreadable files on the mounted standard VeraCrypt container? [migrated]

My hard disk had 3 partitions C, D and E, and I formatted everything on the E drive and extended the size of the D drive using Easeus Partition Master by adding E drive to D. So now the size of the partition D is 500.5 GB , then I created a new 500 GB standard encrypted VeraCrypt container on the D drive. Remaining (non-encrypted space) space on the D drive is 500 MB. Now there is only C and D drive as I extended the size of the D drive using Easeus partition master by combining E drive to D!

Before the formatting and extending the partition of E to D, I copied all data on the E drive to an external Western Digital 4TB drive but there was a 50 GB VeraCrypt file container on that drive ( E DRIVE ) which I marked as hidden from the windows explorer to prevent other users from deleting it. I forgot that there was that VeraCrypt file container on E drive and it didn’t copy to the External drive as it was hidden from the windows explorer.

Does making a 500 GB standard encrypted VeraCrypt drive on the D drive overwritten the D drive which has a size of 500 GB?

I also used Kerish Doctor to prevent that VeraCrypt file container from accidental deletion, today I found that 50 GB VeraCrypt file container on C:\ProgramData\Kerish Products\Kerish Doctor\Restore folder and I copied it to an external drive and successfully mounted the drive using VeraCrypt, but only 3 or 4 files out of 500 files are readable (They are mostly videos, photos)

The file extension that Kerish Doctor saved the file to prevent deletion is in .rst ON C:\ProgramData\Kerish Products\Kerish Doctor\Restore folder.

How do I recover all or most of the data on that drive? See the attached photo, it is how most of the files on that drive looks like and they are corrupted

enter image description here

and opening any of those files gave me below error on the attached photo!

enter image description here

How to view gpg default key in windows [migrated]

I have multiple windows servers in my production. Only one of them is active at a time. The encryption command worked perfectly on one server, but has failing on another with the following message:

> gpg: no default secret key: No secret key gpg:  > gpg: D\Output\Outputfile.csv: > sign+encrypt failed: No secret key 

I compared the list of keys in both the machines through gpg --list-keys I found one key which looked the key used for signing missing in the second server. So I have added it. It still fails with the same error.

What command can I use to view the default key used by gpg? I could only find the command to set the default key, but nothing to view the existing default key.

Potential Risks Using Reference Code Based Authentication For Web Based Application Form That Contains SSN [migrated]

I’m currently building a web based membership application form that will require a user to enter an SSN and other identifiable information. Part of the requirements of the membership application is to allow a user to be able to resume their application and pre-fill of the information they already entered into the form fields. The stakeholders do not want to burden the user with a username and password. We have come up with the following alternative authentication method.

A user can start an application and click a button to “Save” their application. When they click “Save” an email is sent to them and they receive a 6 character alpha numeric reference code.

To “resume” the application the user must then enter the 6 character reference code as well as their birth date, last name, and last four digits of their SSN.

My question is, on a scale of 1 to 10 what would the risk factor in allowing a user to authenticate in this manner. What is the probability that someone could load someone else’s application if they brute force attacked the web based form. And if the risk scale is high, then what can I do to increase the security on this form. I can’t implement a password system and the reference code needs to be simple enough that someone could over the phone present the code to a customer service agent.

Additional Security:

Reference Codes will expire after 1 week on non-use. Reference Codes will expire once the form has been submitted. The web application is using HTTPS and TLS to transfer the data.

About 200 applications will be submitted per week, so around a max of around 200 applications might have active reference codes in a given week.

How to obtain volume encryption interoperability between Android and Linux (LUKS) [migrated]

On Linux, I use LUKS to encrypt containers (a filesystem on a file), which is portable as it can be easily copied, stored on any external filesystem, such as FAT or NTFS on external drives or SD cards. It is easy to mount unencrypted files on a rooted Android since losetup is available. But, I don’t understand why Android lacks support for LUKS. There have been apps that provided it, but they died without support.

So, the question is, what is the best universal way to encrypt containers across Linux and Android platforms to provide the highest degree of interoperability and portability? Is there something other than LUKS that works natively on Android but can be easily used on regular Linux distros such as Fedora?

What baffles me, is if I understand correctly, both LUKS and Android use the kernel for native encryption. If that’s true, you’d think interoperability would be the norm.

Can’t modify Managed Properties in SP2019 Search Service that was migrated

I’m having an issue with editing Managed Properties in a Search Service I migrated from SP2013 to SP2019, yes I bounced it through SP2016, with the DB attach method. I’ve run a full crawl in SP2019 but when I try to edit a managed property from Central Admin I get this error when I try to save the changes.

The settings could not be saved because of an internal error: Search has encountered a problem that prevents results from being returned. If the issue persists, please contact your administrator.

This is not a permissions issue, I’ve tried with several different accounts including the farm account and the installer account. I checked and I am able to edit the properties in SP2013, and in the SP2016 farm that i’m bouncing through.

Big O notation – estimation of run time [migrated]

I am running very computationally intensive tasks and wish to adjust the parameters respective of how long it takes.

The function I am running is PLINK – for those who don’t know, it is used for genotype data.

The function is said to follow a O(n*m^2) w.r.t. big O.

I have the run time for two time points with different parameters for m and a constant n, they are: 3 hours and 648 hours.

From this I wish to estimate the run-time for different parameters of m, that would respect the O(n*m^2) relationship.

Can anybody provide some insight as to methods for estimating run-time with the constant n parameters however also, for running tests with different parameters as well in order to achieve an optimal run-time with respect to accuracy of results?