Questions tagged [integrity]

The aspect of an object which describes it as unaltered since a reference time at which a description of its state was recorded, or a description of the continued functioning of a property of the object. An example of this is checking whether the MD5 hash of this file is the same as the MD5 hash that was calculated yesterday, to ensure the file was unaltered.

300 questions
9
votes
2 answers

Is CRC32 really so bad for file integrity check?

Of course that MD5 is better then CRC32, SHA1 is better then MD5 and so on... But also they are also much slower then CRC32. Right know, I am thinking about how to check consistency of being transfered file and CRC32 is fastest option. I haven't…
Matt Warrick
  • 1,385
  • 1
  • 13
  • 22
8
votes
1 answer

Play Integrity local verification

I am trying to integrate the play integrity check in my app to make sure that my app is not installed on a rooted Android device. I can successfully obtain the integrity token response as guided in the google document. But I am trying to verify it…
Prabakaran
  • 537
  • 2
  • 16
8
votes
2 answers

To check if two image files are same..Checksum or Hash?

I am doing some image processing code where in I download some images(as BufferedImage) from URLs and pass it on to a image processor. I want to avoid passing of the same image more than once to the image processor(as the image processing operation…
Abhishek
  • 6,862
  • 22
  • 62
  • 79
7
votes
2 answers

How can i resolve warning message 'BUG IN CLIENT OF libsqlite3.dylib: database integrity compromised by API violation' in Sqlite.swift?

i'm using Sqlite.swift when i restart app in simulator, i want to remove existing database and make new database. (because of initializing database... i change the database column a lot.) but there is warning message. [logging] BUG IN CLIENT OF…
doori
  • 85
  • 1
  • 6
7
votes
1 answer

Does Google Cloud Storage client in Python check CRC (or MD5) automatically?

I have tried to find out if GCS Python client, and more specifically, blob.upload_from_file() and blob.download_to_file() check integrity of the uploaded or downloaded file automatically. If not, how can I check the CRC hash programmatically? Any…
7
votes
2 answers

Is there a tool to check database integrity in Django?

The MySQL database powering our Django site has developed some integrity problems; e.g. foreign keys that refer to nonexistent rows. I won't go into how we got into this mess, but I'm now looking at how to fix it. Basically, I'm looking for a script…
Thomas
  • 174,939
  • 50
  • 355
  • 478
7
votes
1 answer

Track a Rails project on private repo on GitHub with Redmine and Integrity deployed on Heroku

Scenario Project A is a Rails application: Code hosted on GitHub on a private repo. Deployed on Heroku (which has a readonly file system). Project R that is an instance of Redmine, used to manage my project A: Code hosted on GitHub on another…
Andrea Salicetti
  • 2,423
  • 24
  • 37
7
votes
1 answer

Remeasuring files with Linux IMA

I am trying to set up Linux IMA in RHEL with the help of this guide http://linux-ima.sourceforge.net/linux-ima-content.html-20110907 . I would like to set up the system such that sensitive files of my choosing are remeasured if the file has changed…
DaTaBomB
  • 623
  • 3
  • 11
  • 23
6
votes
1 answer

Better SQLite corruption detection

At first, some background: My Android app has DB table with a lot of four-column rows. It sends requests to the server and server responds only when all of these four values are "valid". A few of the thousands users reported that something doesn't…
user1234567
  • 1,832
  • 1
  • 18
  • 25
6
votes
2 answers

How does Tomcat maintain session integrity?

HttpServletRequest's getSession(boolean) method mentions session integrity. How does Tomcat maintains session integrity? What rules does it use? What method? What is happening under the hood precisely? EDIT How and when is a specific session ID is…
Jérôme Verstrynge
  • 57,710
  • 92
  • 283
  • 453
6
votes
2 answers

Websockets message integrity

When using a WebSocket full-duplex data connection between a client and a server, am I guaranteed, when sending two messages from the server, that I will receive those two exact same messages on the client, something TCP does not ? In other words,…
Magix
  • 4,989
  • 7
  • 26
  • 50
6
votes
1 answer

Authenticity and Integrity of HTTP Requests

I have an API endpoint where external websites can submit a POST request. What would be the best method to make sure the requests are authentic and also are not tampered with, so they respect the principle of integrity? Since the data is not…
Claudiu S
  • 1,587
  • 6
  • 22
  • 40
6
votes
1 answer

Android shared library integrity protection

Is there a way to somehow 'protect' a native shared library (.so) for the Android platform against binary changing? E.g. someone could overwrite a JMP instruction with a NOP after reverse engineering the application, and distribute that library to…
AndroidSec
  • 299
  • 1
  • 5
  • 13
5
votes
3 answers

Can file based SVN repository support simultaneous multi-user situation?

If multiple users accesses file based SVN repository to commit many things simultaneously, can SVN guarantee data integrity? If it is, how? Or if it isn't what serving method should I use for multi-user situation?
eonil
  • 83,476
  • 81
  • 317
  • 516
5
votes
2 answers

How to enforce a 1 to n relationship

I'm working on an online muiltiplayer board game & have a SQL server question. Lets assume the game allows two players. When the game is created, the creator is added as the first user. At that point, two users could try to join the game…
Buurin
  • 129
  • 2
  • 4
1
2
3
19 20