Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add alternative table structure digest for late 10.14 versions #28

Merged
merged 1 commit into from
Oct 17, 2019

Conversation

socoolby
Copy link
Contributor

  • 80a4bb6912 digest [late for 10.14]
    CREATE TABLE admin (key TEXT PRIMARY KEY NOT NULL, value INTEGER NOT NULL)
    table|access_overrides|access_overrides|4|CREATE TABLE access_overrides (service TEXT PRIMARY KEY NOT NULL)

* 80a4bb6912 digest [late for 10.14]
CREATE TABLE admin (key TEXT PRIMARY KEY NOT NULL, value INTEGER NOT NULL)
table|access_overrides|access_overrides|4|CREATE TABLE access_overrides (service TEXT PRIMARY KEY NOT NULL)
@stipx
Copy link

stipx commented Feb 7, 2019

Is there anything that would block merging this PR?
I verified it is working for me.

Or is this project not maintained anymore? Last commit was more than a year ago.

@MHolmes91
Copy link

MHolmes91 commented Mar 2, 2019

I tried running tccutil.py -i com.divisiblebyzero.Spectacle and am getting the following error.

sqlite3.OperationalError: table access has 12 columns but 7 values were supplied.

I looked at the TCC.db table schema and it looks like a problem has arisen. There is a new column called csreq that seems to have a unique value for each application. I am unsure of how this value could be retrieved and am reluctant to try on my own system.

@espoelstra
Copy link

Sounds like the csreq might be tricky to automate judging from this SO post. https://stackoverflow.com/questions/52706542/how-to-get-csreq-of-macos-application-on-command-line

@jacobsalmela jacobsalmela merged commit cd0f2f9 into jacobsalmela:master Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants