Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

Issue VACCUM SQL directive to prevent the DB from keeping old Seeds. - #89

Merged
ThomasHabets merged 3 commits into
google:masterfrom
pfedan:patch-1
Mar 26, 2019
Merged

Issue VACCUM SQL directive to prevent the DB from keeping old Seeds.#89
ThomasHabets merged 3 commits into
google:masterfrom
pfedan:patch-1

Conversation

@pfedan

@pfedan pfedan commented Mar 25, 2019

Copy link
Copy Markdown
Contributor

No description provided.

@googlebot

Copy link
Copy Markdown
Collaborator

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@pfedan

pfedan commented Mar 25, 2019

Copy link
Copy Markdown
Contributor Author

I signed it!

@googlebot

Copy link
Copy Markdown
Collaborator

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@pfedan

pfedan commented Mar 25, 2019

Copy link
Copy Markdown
Contributor Author

I'd consider this also a security issue (and if not, at least a matter of 'tidiness') to securely delete the seeds, see also the documentation of VACUUM (third bullet in the top list).

@ThomasHabets

Copy link
Copy Markdown
Contributor

Is that semicolon needed? The other instances of mDatabase.execSQL don't end in semicolon.

@ThomasHabets

Copy link
Copy Markdown
Contributor

I've filed this internally as b/129332125 because…

--

FYI: The version in Google Play Store / Apple App store is not the same as this opensource version. They've diverged. This opensource version is also unlikely to end up in the app stores. This open source version doesn't get much love, but I'll accept well-written pull requests. But don't expect this feature to be implemented by Google.

@ThomasHabets

Copy link
Copy Markdown
Contributor

(will merge this anyway after you confirm the semicolon thingy)

@ThomasHabets ThomasHabets self-assigned this Mar 26, 2019
@pfedan

pfedan commented Mar 26, 2019

Copy link
Copy Markdown
Contributor Author

The semicolon is actually optional, as it is only one single command in the statement. It'll work either way. It was just a matter of habit to finalize an SQL command using ;.

I've filed this internally as b/129332125 because…

Not sure what that means. Will that change also be made in the Play Store / App Store versions?

@ThomasHabets
ThomasHabets merged commit 69a6997 into google:master Mar 26, 2019
@ThomasHabets

Copy link
Copy Markdown
Contributor

Either is good. Thanks!

@pfedan
pfedan deleted the patch-1 branch March 27, 2019 09:28
MrPickles added a commit to MrPickles/google-authenticator-android that referenced this pull request Jul 7, 2019
This is a re-patch of 69a6997, which
was added in pull request google#89.
MrPickles added a commit to MrPickles/google-authenticator-android that referenced this pull request Jul 7, 2019
This is a re-patch of 69a6997, which
was added in pull request google#89.
ThomasHabets pushed a commit that referenced this pull request Jul 7, 2019
This is a re-patch of 69a6997, which
was added in pull request #89.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants