Is there an alternate hashing algorithm to MD5 for FIPS-enabled systems?

Whenever I try to use MD5 on a Windows XP machine that has FIPS enabled, I am getting a System.InvalidOperationException. Is there an alternate algorithm that I should use instead of MD5 on FIPS?

How to install psycopg2 with "pip" on Python?

I'm using virtualenv and I need to install "psycopg2". I have done the following: pip install...

Mocking MessageDigest.getInstance() to throw an exception

I got the following method: private MessageDigest getMessageDigest() { try { return MessageDigest.getInstance("MD5"); } catch (NoSuchAlgorithmException e) { throw new Error(e); } } To get...

Dealing with nginx 400 "The plain HTTP request was sent to HTTPS port" error

I'm running a Sinatra app behind passenger/nginx. I'm trying to get it to respond to both http and https calls. The problem is, when both are defined in the server block https calls are responded...

How to repair a serialized string which has been corrupted by an incorrect byte count length?

I am using Hotaru CMS with the Image Upload plugin, I get this error if I try to attach an image to a post, otherwise there is no error: unserialize() [function.unserialize]: Error at offset The...

Single stepping until exit from function gdb

I have a project which I am working on and it has multiple files and I use make to compile the project. Here is the makefile CC = /opt/gcc-4.7-cilkplus/bin/gcc CFLAGS = -ggdb3 -Wall COMPLILEFLAGS...

Does aws-cli confirm checksums when uploading files to S3, or do I need to manage that myself?

If I'm uploading data to S3 using the aws-cli (i.e. using aws s3 cp), does aws-cli do any work to confirm that the resulting file in S3 matches the original file, or do I somehow need to manage...

Issue installing a package in R

I'm new to R. Trying to install the package UsingR but running into problems: library(UsingR,lib="C:\[whereitwent]") Loading required package: HistData Error: package ‘HistData’ could not be...

how to make parameter url in android json

I'm trying to fetch data from a server using this url www.example.com/directory/ but it's not working ... it came up with this that json is not sending any action to server... so all I want is to...

pgAdmin4: Unable to connect to Amazon EC2 via SSH Tunnel

I have Amazon EC2 instance running Ubuntu. I have installed and configured PostgreSQL. Contents of the file /etc/postgresql/9.3/main/pg_hba.conf: local all all md5 host ...

PHP convert any video to MP4 using ffmpeg

I have a website in wich I allow users to upload videos. But with the HTML5 tag video, only MP4 videos are allowed So, I want to convert any type of videos that the users upload to MP4 and then...

Node Sass does not yet support Windows 64-bit

I am running protractor UI automation project and try to run test with yarn test and received following build error Module build failed: Error: Node Sass does not yet support your current...

Failed installing pycrypto with pip

I encountered a problem when I try to download a certain package: C:\Python27\Scripts>pip install pycrypto Collecting pycrypto Using cached...

Packer Error message: Could not find a registered machine named 'packer-virtualbox-iso-#

Currently I am running Packer on Windows 10. I was trying to play around with Packer for custom installs for VM's. In my JSON file this are my configurations: { "builders": [ { ...

Google Cloud Storage CORS issue with Rails ActiveStorage

I've set the CORS for my bucket using gsutil with what I believe should work, but I haven't got past the "No 'Access-Control-Allow-Origin' header is present on the requested resource" error. This...

Python Paramiko directory walk over SFTP

How to do os.walk() but on another computer through SSH? The problem is that os.walk() executes on a local machine and I want to ssh to another computer called 'sunbeam', walk through a directory...

WinRM times out Packer, possible port issue? using MWrock templates

I am having trouble like so many people with getting winRM to work. Im using MWrock templates so in theory it should already be fixed with his scripts that I am using but unfortunately its just...

Howto upload big files 2GB+ to .NET Core API controller from a form?

While uploading a big file via Postman (from a frontend with form written in php I have the same issue) I am getting a 502 bad gateway error message back from the Azure Web App: 502 - Web server...

Download and start sh.x and .run files with curl or wget

Normally I start the bash programs from the terminal, with this command: curl https://example.com/assets/file/file.sh | bash But if i do the same thing with .run or .sh.x file it doesn't work. I...

error install packages in r ‘lib’ is unspecified

I have a problem installing packages in R. install.packages('rlang') Installing package into ‘C:/Users/durandeb/Documents/R/win-library/3.4’ (as ‘lib’ is unspecified) There is a binary...

How would you crack this (MD5 HashCat)?

Hi this is a really stupid question. I'm new to this and I'm extremely confused. I was given this...

How do I create a webhook in clickfunnels to send information to Wishlist Member

The instructions in clickfunnels as me to start by creating a test endpoint URL: . Creating A Test Endpoint. First, you will need to create a test endpoint at...

using hash key in merge statement as comparison column

I have to implement merge statement in snowflake DB. There will be more than 6 billion rows in Target table. There are multiple columns in comparison around 20. I was thinking to generate hash key...

How to program own Wifi "Mute" Stomp Box to remote control a Behringer X32 Rack?

I´m totally new to coding, this is even my first post here. Im tryng this because nobody sells what I want/need ;-). I achived already quite a bit, but at this moment I´m getting lost with a lot...

Unable to install magrittr

Got a new company laptop and tried to install tidyr or installr, but it always fails because of magrittr. If I want to install this package directly I'm getting the following error code: *...

Emulator for Android 12 preview no connection

I have installed the Android 12 Preview emulator. I had a lot of problems because the emulator was crashing on start up but after uninstalling and installing it again and restarting the machine...

Error while downloading the requirements using pip install (setup command: use_2to3 is invalid.)

version pip 21.2.4 python 3.6 The command: pip install -r requirments.txt The content of my requirements.txt: mongoengine==0.19.1 numpy==1.16.2 pylint pandas==1.1.5 fawkes The command is...

How to solve unstable behaviour on Spring security getting userdetailsService right

I'm tinkering with my Spring Security configuration and I noticed some unpredictable behaviour. When deploying my Spring boot web and api the custom UserDetailsService is not properly accesible. I...

Installing gfortran on MacBook with Apple M1 chip for use in R

I'm on a MacBook Air with an Apple M1 chip, using macOS 11.6 Big Sur. I'm on R 4.1.1. I have Xtools and gfortran for the Apple M1 installed: [email protected] ~ % which...

PHP openssl_decrypt failed to decrypt file using tripledes algorithm

This question will be a bit long, please bear with me I have a legacy system that uses tripledes with mcrypt to encrypt files. Since mcrypt is deprecated, I tried to change the encryption function...

Relevant tags