I am adding a sentry handler to the R logging package. currently django-sentry validates the client (the application sending log records) based on a shared key which travels in clear text in a secured channel.
I was wondering if it was possible to do encryption from R, preferably asymmetric, public key based, but I find nothing relevant.
all right, not "if it was possible", but "how to do that" and whether someone already did this.
after interaction with the author of django-sentry, we opted for hmac
, which I have implemented within the digest
R package (version 0.5+ contains it). This does not answer the question "how to encrypt data using R", but it solves the problem which formed the base for my initial question.
At this point I am not any more actively working at asymmetric encription in R, however, if you are interested in it and you want to contribute ideas or code, please leave a note here!