Git Product home page Git Product logo

private-compute-services's Introduction

Private Compute Services

This repository contains the code for the Private Compute Services app, a suite of services that provide a privacy-preserving bridge between Private Compute Core and the cloud.

Android’s Private Compute Core is a secure environment that is isolated from the rest of the operating system and apps where close-source features can safely access ambient and OS data.

Since Android 11, the OS prevents Private Compute Core components from having direct communication with other apps, and forces its features to use a small set of well defined APIs in AOSP. These protections are already open-source and can be found here.

From Android 12 forward, features inside Private Compute Core do not have direct access to the network. Instead, these features communicate over a small set of APIs to Private Compute Services (defined in this repository). This ensures no private or identifying information is exposed outside of the device using a set of privacy preserving technologies including federated learning, federated analytics, and private information retrieval.

You can learn more about Private Compute Services in this blog post.

Current APIs

  • Private Information Retrieval: Enables downloading slices of a dataset without revealing to the server which slice it downloaded.
  • Federated compute: Enables privacy-preserving aggregate machine learning and analytics across many devices, without any raw data leaving the device.
  • HTTP download: Enables access to static resources like updated ML models.
  • Protected Download: enables downloading of resources to the device with support for a binary transparency log based verification, ensuring these are the official resources provided by Google.

Note on dependencies

This project depends on the following separate open sourced repositories, as well as a limited number of dependencies which remain closed source. All API definitions are included in the open sourced repos.

The open sourced dependencies are:

private-compute-services's People

Contributors

bayesianmind avatar chunxiangzheng avatar desh-woes avatar goofy57 avatar kluever avatar sdierauf avatar shiqing117 avatar shivanker avatar sibonaci avatar timonvo avatar yara11 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  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  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  avatar

Watchers

 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  avatar  avatar  avatar

private-compute-services's Issues

Web Environment Season Pass 🥇

Hey Google,

I heard about web environment, private computing stuff. I got an idea, instead of having only unverified and verified users, we could add a Web Environment Season Pass (or VIP, Plus, Premium, as you like). With this Season Pass you can visit all sites AND only see 8/12 of the ADS. Sure they would have to pay a bit of money for that (🤑🤑🤑), but I know thats the point you like : )

Since it was my idea, please consider giving me a percentage of the earnings if you implement it, thanks <3

(P.S.: Can we "trap" all unverified people on a "jail"-website and just show them ads all day? This is where the money lays, I tell you)

™️

Walter rios````

Top secret

A

A

Is there any ethical way to be employed by Google?

I know it's common to just throw code out onto GitHub and hope nobody will respond except possibly with vague praise at your openness. I'll offer a different viewpoint: this isn't useful except to make money for Google and further entrench their control over platforms and hardware.

saying hello to explainers-by-googlers/Web-Environment-Integrity#28 (comment) also, it's almost like Google is only here on GitHub for advertising purposes and not to be part of a community of peers.

Thank you for your contribution. However, due to many similar or old issues, this bot automatically closed the issue. Please open a new issue if the problem is still there.

Thank you for your contribution. However, due to many similar or old issues, this bot automatically closed the issue. Please open a new issue if the problem is still there.

این یک پیام خودکار است.
به علت شباهت های بسایری که بین ایشو ها بود و خیلی هاش رفع شده
برای مدیریت بهتر به صورت خودکار تمام ایشو ها بسته میشه

ولی خواهشمند است که در صورتی که همچنان مشکل شما وجود دارد و یا نیاز به بهبود هست به ما پیام بدید

تا بتونیم مدیریت بهتری روی ایشو ها داشته باشیم.

با سپاس

Originally posted by @hiddify-com in hiddify/Hiddify-Manager#1075 (comment)

Could you please share sample model data?

Hello.
As you know, ASI (Android System Intelligence) app creates model data. And PCS (Private Compute Services) sends model data to Google cloud or server side.
Then could you please share one of model data? I think it's really important for transparency Google emphasizes now.
I'm asking not source code but model data.

Thanks in advance.

"private compute keeps stopping"

This process has taken over my phone in that it interrupts every hour or so that the process has stopped working. It has a out 170mb of background data as well.

What can I do to provide debugging?

where can i find the class which name is fcp.client.tasks.Task?

can you tell me ?
where can i find these classes,as follows:
fcp.client.InAppTrainer;
fcp.client.InAppTrainerOptions;
fcp.client.InAppTrainerOptions.AttestationMode;
fcp.client.InAppTrainingConstraints;
fcp.client.TrainingInterval;
fcp.client.tasks.OnFailureListener;
fcp.client.tasks.OnSuccessListener;
fcp.client.tasks.Task;

How to use PCS and Federated compute platform together?

FCP is an excellent tool for orchestrating Federated Learning (FL), and it also includes client code that can be adapted for various hardware targets.
How to combine PCS (Private-compute-services) and FCP effectively for federated learning and analytics? could you please share any helpful blogs or resources on this topic?

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.