Questions tagged [sign]

A digital signature is a mathematical scheme for demonstrating the authenticity of a digital message or document.

A digital signature is a mathematical scheme for demonstrating the authenticity of a digital message or document. A valid digital signature gives a recipient reason to believe that the message was created by a known sender, such that the sender cannot deny having sent the message (authentication and non-repudiation) and that the message was not altered in transit (integrity).

1267 questions
277
votes
9 answers

Signing a Windows EXE file

I have an EXE file that I should like to sign so that Windows will not warn the end user about an application from an "unknown publisher". I am not a Windows developer. The application in question is a screensaver generated from an application that…
Lasar
  • 5,175
  • 4
  • 24
  • 22
131
votes
11 answers

Git sign off previous commits?

I was wondering how to sign(-s) off previous commits that I have made in the past in git? CLARIFICATION: Git has confusingly similarly named concepts git commit -s, --signoff (lower case -s) and git commit -S, --gpg-sign (upper case -S). This…
camelCaseD
  • 2,483
  • 5
  • 29
  • 44
107
votes
16 answers

Number.sign() in javascript

Wonder if there are any nontrivial ways of finding number's sign (signum function)? May be shorter / faster / more elegant solutions than the obvious one var sign = number > 0 ? 1 : number < 0 ? -1 : 0; Short answer! Use this and you'll be safe…
disfated
  • 10,633
  • 12
  • 39
  • 50
81
votes
9 answers

Making all numbers negative

I have a few floats: -4.50 +6.25 -8.00 -1.75 How can I change all these to negative floats so they become: -4.50 -6.25 -8.00 -1.75 Also I need a way to do the reverse If the float is a negative, make it a positive.
dotty
  • 40,405
  • 66
  • 150
  • 195
76
votes
19 answers

Simplest way to check if two integers have same sign?

Which is the simplest way to check if two integers have same sign? Is there any short bitwise trick to do this?
Gerber
52
votes
15 answers

Given URL is not allowed by the Application configuration

I am trying to create facebook sign-in page according to this tutorial. I only changed the two lines appId : '370675846382420', // App ID channelUrl : '//http://bp.php5.cz/channel.html', // Channel File and I get the following error Given…
Slazer
  • 4,750
  • 7
  • 33
  • 60
47
votes
5 answers

How to generate an upload key for Google App Signing?

I am currently struggling with the upload key, which is the new method of signing APK's to publish it to Google Play. What I have done I created a new app which should now on the play store. I created an app entry on the Play console. Then I…
Julian Schmuckli
  • 3,681
  • 11
  • 37
  • 64
41
votes
9 answers

How to get sign of a number?

Is there a (simple) way to get the "sign" of a number (integer) in PHP comparable to gmp_signDocs: -1 negative 0 zero 1 positive I remember there is some sort of compare function that can do this but I'm not able to find it at the moment. I…
hakre
  • 193,403
  • 52
  • 435
  • 836
35
votes
3 answers

Signing Windows application on Linux-based distros

I have prepared an application and website where the customer can set several options for this application before he downloads it. Settings are stored in binary format on the end of the file (appended), then the edited file is sent to the end user.…
Tomasz Banasiak
  • 1,540
  • 2
  • 13
  • 19
34
votes
4 answers

Signing sub-framework embedded in root-framework not working (Xcode 11.2.1)

I have a small proof-of-concept app, where I am trying to embed (and sign) a framework (Alamofire) inside of my framework (AequumPOCFramework.framework), however, when I try to deploy to my device, it keeps giving me the error ....not valid for…
geekyaleks
  • 1,281
  • 3
  • 18
  • 29
33
votes
5 answers

How to sign string with private key

How can I get the signature of a string using SHA1withRSA if I already have the Private Key as byte[] or String?
xain
  • 13,159
  • 17
  • 75
  • 119
30
votes
5 answers

apksigner not accepting password

Up until now I had been signing my apks with the following method: jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore {keystore-file} {apk-file} {keystore-alias} However I am trying to use the new apksigner tool and I cannot get it to…
Noel De Martin
  • 2,779
  • 4
  • 28
  • 39
26
votes
3 answers

Why should I sign my apk before releasing to PlayStore?

What exactly is the importance of signing an apk before releasing to the market?
Sazzad Hissain Khan
  • 37,929
  • 33
  • 189
  • 256
24
votes
5 answers

Negative numbers are stored as 2's complement in memory, how does the CPU know if it's negative or positive?

-1 can be represented in 4 bit binary as (2's complement) 1111 15 is also represented as 1111. So, how does CPU differentiate between 15 and -1 when it gets values from memory?
MCG
  • 1,011
  • 1
  • 10
  • 21
24
votes
4 answers

Resign apk with different keystore

Currently I'm getting the apk signed with the private keystore file but I want to sign that apk with different keystore file. How can I resign that apk..?
Rookie
  • 8,660
  • 17
  • 58
  • 91
1
2 3
84 85