Questions tagged [verify]

676 questions
3
votes
3 answers

How to verify this PGP message in C# using Bouncy Castle or other c# library

All i need to do is verify the message below but I can not get Bouncy Castle to take the data in and given the public key verify the message. I am happy for it to be some other Lib that is used if it is free. This is to be embedded in my app that…
Seer
  • 495
  • 5
  • 20
3
votes
1 answer

verify signature of JWT Token c#

I have some problems to verify the signature of a JWT token I get. The token is signed with HS256. The code where I try to create a signature to proof the received one is: JwtSecurityToken token = tokenHandler.ReadJwtToken(tokenString); byte[]…
mathis
  • 33
  • 2
3
votes
1 answer

Verify signature of Private key by Public key between Sender and Receiver in PHP

I create a Signature() function for the sender to sign his/her private key and then return the $signature use phpseclib\Crypt\RSA; public function Signature(Request $request) { $agent_code = $request->agent_code; $private_key =…
Wei Kang
  • 163
  • 2
  • 9
3
votes
3 answers

File Signatures: How do I make sure that a Windows DLL isn't modified?

I once asked a question here if Windows DLLs are signed by Microsoft. I realized they were, and a good friend told me that the SigCheck utility can provide information about the signature of files; but a question remained: While SigCheck tells me if…
TheAgent
  • 1,472
  • 5
  • 22
  • 42
3
votes
1 answer

ECDSA Verify Signature in C# using public key and signature from Java

I have a public key and signature generated in Java which I would like to verify in C# using ECDsaCng. The public key is MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAExeg15CVOUcspdO0Pm27hPVx50thn0CGk3/3NLl08qcK+0U7cesOUUwxQetMgtUHrh0lNao5XRAAurhcBtZpo6w==…
josagyemang
  • 503
  • 5
  • 9
3
votes
1 answer

Verifying "Xcode" on every macOS boot

every time I start or restart my MacBook, macOS verifies Xcode. This is not a picture from me I took it from another post but its basically the same just with "Xcode" (the app) instead of the image file. It takes a while and for the time macOS is…
Dennis
  • 200
  • 15
3
votes
0 answers

How to resolve "integrity errors" revealed by "hg verify"

I have a shared repository for which hg verify reveals seven problems attributable to a very old changeset (@2445). Having failed to repair the repository as described in detail below, I would greatly appreciate any advice about repairing it. …
peak
  • 105,803
  • 17
  • 152
  • 177
3
votes
1 answer

How to render html file with Express.js?

I'm new on node js develop. I'm developing a Login / Signup process using bycript and verification mail. I have implemented the verification token send by mail using this code: router.get('/verification/:token', function(req, res) { // Check for…
gisman
  • 119
  • 1
  • 10
3
votes
1 answer

How to Encode nodejs ecdh public key as pem

Unable to sign a file with nodejs crypto I am trying to verify a signed document created like in this thread using the method verify.verify() with the ECDH public key. Therefore, i guess, i have to format the raw public key into valid PEM. How would…
Roflex
  • 55
  • 8
3
votes
1 answer

PHP 7.2 password_verify() not working after request to database

I am testing the new php encryption algorithm (Argon2) and it gives me problems when I collect the data from the database. I am showing the code below, password_verify () always returns false. setpass: function setpass($pass, $cryp){ global…
3
votes
2 answers

How can password_verify and doveadm pw -t verify a password without salt

im currently trying to understand hashes and salts. As i understand it, it should not be possible to verify a password, if i only have the password and the generated hash(that was generated with a random salt ofc). So how can the password_verify…
Sakkath
  • 37
  • 4
3
votes
1 answer

Can't verify an app on ios

So I installed a modified Spotify app on my iPad Air 2n, iPhone 6. After I downloaded it I had to trust the developer, everything was fine, it worked and I could open the app. But after some time I had to verify the app again. Quoted for the apple…
user8292220
  • 31
  • 1
  • 2
3
votes
1 answer

Get signing chain from CMSSignedData

How can I get a signing chain from a CMSSignedData (BouncyCastle) to verify it with the signing chain store? Certificate[] storeCertChain = store.getCertificateChain(alias) Isn't there a command or something like this I can get the signing chain…
nolags
  • 633
  • 1
  • 11
  • 30
3
votes
5 answers

How to convert characters from a string into numbers (phone number converted)?

I'm a bit stuck on how I should replace each element in char array to a number. Here's the code I have so far: public static void main(String []args){ String[] dialTwo = {"a", "b", "c"}; String[] dialThree = {"d", "e", "f"}; String[]…
3
votes
1 answer

I get 0x80070057 error code on certcreatecertificatechainengine func

I use visual studio 2013 and windows 7 32bit. I want to verify digital signature by root and chain of certificate. So I get 0x80070057 error code in certcreatecertificatechainengine(). bool result = false; HCERTCHAINENGINE …
VOLVO
  • 541
  • 5
  • 16