Giter Site home page Giter Site logo

kiding / apple-ocsp-noiser Goto Github PK

View Code? Open in Web Editor NEW
34.0 34.0 1.0 48 KB

Privacy-Preserving Noise Machine for Apple Developer ID OCSP

Home Page: https://kiding.medium.com/macos-ocsp-telemetry-explainer-and-mitigation-9bc243928f4c

License: MIT License

Shell 100.00%
big-sur macos ocsp pki privacy security

apple-ocsp-noiser's People

Contributors

icecodenew avatar kiding avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

ink-splatters

apple-ocsp-noiser's Issues

Possible Alternative

I've noticed that Catalina respects network proxy settings for OCSP if it's set to SOCKs.
I haven't found a repo that acts as a simple SOCKs proxy with filtering capabilities based on full URL, but if you know one, it'd be great, because then, you could simply block URLs containing 'devid', or maybe even more granular, as to for example, block the OCSP request if it has the Firefox developer ID in it.

Btw, if you've access to Big Sur or newer, could you confirm if it uses TLS-wrapped OCSP? I read here about it, but just wanna be sure.

Moreover, do you know why the developer ID of some apps is twice as long as normal? Tor is one such instance. Although it always issues a "timestamp mismatch" when generating the OCSP files using the codesign -d --extract-certificates="OCSP_" command.

noise proposal

xxxMacBook-Pro:Applications root# cd /Applications/
xxxMacBook-Pro:Applications root# ls | grep '.app' | while read APP; do
>   rm -f OCSP_0 OCSP_1 OCSP_2
>   codesign -d --extract-certificates="OCSP_" "$APP" 2>/dev/null
> 
>   if [ -f OCSP_0 ]; then
>     openssl x509 -in OCSP_0 -inform DER -serial | head -n1 | sed 's/serial=\(..\)\(..\)\(..\)\(..\)\(..\)\(..\)\(..\)\(..\)/\\x\1\\x\2\\x\3\\x\4\\x\5\\x\6\\x\7\\x\8/' 2>/dev/null
>   fi
> 
>   rm -f OCSP_0 OCSP_1 OCSP_2
> done


<<<REDACTED>>>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.