Skip to content

Commit

Permalink
Version bump: 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bpvgoncalves committed Apr 11, 2024
1 parent 5fa8858 commit a4d2559
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 11 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: RSQLCipher
Title: SQLCipher Interface for R
Version: 0.1.1.9005
Version: 0.2.0
Authors@R: c(
person("Bruno", "Gonçalves", , "[email protected]", role = "aut",
comment = c(ORCID = "0000-0002-0797-7717")),
Expand Down
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# RSQLCipher (development version)
# RSQLCipher 0.2.0

## Features
- Added function `sqliteIsTransacting()` to check if there are any open transactions.
Expand All @@ -7,6 +7,7 @@ of existing databases.

## Other
- Function `databaseKeyChange()` replaces `dbChangeKey()`.
- Sync code with [RSQLite's](https://github.com/r-dbi/RSQLite) main branch.

# RSQLCipher 0.1.1

Expand Down
13 changes: 13 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,19 @@ to the RSQLite package to keep both as much compatible as possible.

This package allows for the use of regular SQLite database files or encrypted ones.

Currently, only the following differences exist between both drivers:

- `dbConnect()` with `RSQLCipher()` driver accepts the parameter `key` when creating a new
encrypted database or opening a connection to a existing one.

- There are 3 RSQLCipher specific functions:

- `databaseKeyAdd()`, to create an encrypted copy of an existing plain database.

- `databaseKeyChange()`, to modify the key on an encrypted database.

- `databaseKeyRemove()`, to create a decrypted copy of an encrypted database.


<!-- You can install the latest released version from CRAN with: -->

Expand Down
34 changes: 25 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,22 @@ possible.
This package allows for the use of regular SQLite database files or
encrypted ones.

Currently, only the following differences exist between both drivers:

- `dbConnect()` with `RSQLCipher()` driver accepts the parameter `key`
when creating a new encrypted database or opening a connection to a
existing one.

- There are 3 RSQLCipher specific functions:

- `databaseKeyAdd()`, to create an encrypted copy of an existing plain
database.

- `databaseKeyChange()`, to modify the key on an encrypted database.

- `databaseKeyRemove()`, to create a decrypted copy of an encrypted
database.

<!-- You can install the latest released version from CRAN with: -->
<!-- ```R -->
<!-- install.packages("RSQLCipher") -->
Expand Down Expand Up @@ -106,17 +122,17 @@ if ("hexView" %in% installed.packages()) {
## 48 : 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 | ................
## 64 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
## 80 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 | ................
## 96 : 00 2e 66 ea 0d 00 00 00 01 0f 31 00 0f 31 00 00 | ..f.......1..1..
## 96 : 00 2e 72 a2 0d 00 00 00 01 0f 31 00 0f 31 00 00 | ..r.......1..1..
## 112 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
## >> Encrypted database
## 0 : 7a 8a fa fc 3b 0d b8 5e dd 4a 0e 61 cb 59 5e e9 | z...;..^.J.a.Y^.
## 16 : 95 f1 87 24 77 82 bb d8 66 0a 3b 16 be 1a 26 c2 | ...$w...f.;...&.
## 32 : 34 b3 dd 75 b7 f4 fc eb 36 6f c8 58 97 8d ab a5 | 4..u....6o.X....
## 48 : 40 a5 25 04 79 a5 9f 83 91 72 13 22 ae 10 bf 1b | @.%.y....r."....
## 64 : 00 5e 0b 45 14 e0 7b b7 1b f7 2b f2 e9 dd 33 f7 | .^.E..{...+...3.
## 80 : 72 0a c0 4e d7 d4 c1 f8 2b 03 b9 30 b3 6e 3f 64 | r..N....+..0.n?d
## 96 : b0 b9 c0 35 46 d6 65 05 04 03 9b 46 7c 82 db 79 | ...5F.e....F|..y
## 112 : e4 e3 18 cb e2 d3 7a 0b 13 1b 6a ce d3 0d 22 68 | ......z...j..."h
## 0 : f5 0c ab 3d 1f ef dd 74 e9 8d 8c 9b 0d e6 5c 2c | ...=...t......\,
## 16 : 0a 2b 10 57 8a 5c af 57 43 a2 cb b9 af bb ef 8c | .+.W.\.WC.......
## 32 : 3c 8b ae 72 d7 75 e6 4c ff 1e ba d8 41 f5 e1 4b | <..r.u.L....A..K
## 48 : f3 68 f3 db 81 3c 7b 49 49 8d e4 d4 22 a4 21 c4 | .h...<{II...".!.
## 64 : a1 f3 4e ff 89 31 56 a7 90 de 49 da 20 8e 6b 22 | ..N..1V...I. .k"
## 80 : a2 e6 51 b3 f8 9a d5 b5 de 03 13 51 05 93 c2 2d | ..Q........Q...-
## 96 : 9a 6c ed 60 82 bc e2 4e 5e f1 e6 82 f3 2d ba 1e | .l.`...N^....-..
## 112 : 53 c4 f9 ac da 5e 72 fe e6 6e dd 97 59 42 0d 13 | S....^r..n..YB..

``` r
file.remove(tmp_plain)
Expand Down

0 comments on commit a4d2559

Please sign in to comment.