Skip to content

analogies::key_create results in Error: Key can't be blank #37

Description

@mnr

System details

Output of sessioninfo::session_info()():

─ Session info ──────────────────────────────────────────────────────
 setting  value
 version  R version 4.1.1 (2021-08-10)
 os       macOS Monterey 12.5.1
 system   x86_64, darwin17.0
 ui       RStudio
 language (EN)
 collate  en_US.UTF-8
 ctype    en_US.UTF-8
 tz       America/Los_Angeles
 date     2022-08-22
 rstudio  2022.07.1+554 Spotted Wakerobin (desktop)
 pandoc   NA

─ Packages ──────────────────────────────────────────────────────────
 ! package       * version date (UTC) lib source
   analogsea       1.0.6   2022-05-08 [1] CRAN (R 4.1.2)
   askpass         1.1     2019-01-13 [1] CRAN (R 4.1.0)
   callr           3.7.0   2021-04-20 [1] CRAN (R 4.1.0)
   cli             3.1.1   2022-01-20 [1] CRAN (R 4.1.2)
   crayon          1.5.1   2022-03-26 [1] CRAN (R 4.1.2)
   curl            4.3.2   2021-06-23 [1] CRAN (R 4.1.0)
   httr            1.4.2   2020-07-20 [1] CRAN (R 4.1.0)
 V jsonlite        1.7.2   2022-02-22 [1] CRAN (R 4.1.2) (on disk 1.8.0)
 V magrittr        2.0.1   2022-03-30 [1] CRAN (R 4.1.2) (on disk 2.0.3)
   openssl         1.4.5   2021-09-02 [1] CRAN (R 4.1.0)
   pkgbuild        1.3.1   2021-12-20 [1] CRAN (R 4.1.0)
   plumberDeploy * 0.2.1   2021-03-22 [1] CRAN (R 4.1.0)
   prettyunits     1.1.1   2020-01-24 [1] CRAN (R 4.1.0)
   processx        3.5.2   2021-04-30 [1] CRAN (R 4.1.0)
   ps              1.6.0   2021-02-28 [1] CRAN (R 4.1.0)
   R6              2.5.1   2021-08-19 [1] CRAN (R 4.1.0)
   remotes         2.4.2   2021-11-30 [1] CRAN (R 4.1.0)
   rprojroot       2.0.2   2020-11-15 [1] CRAN (R 4.1.0)
   rstudioapi      0.13    2020-11-12 [1] CRAN (R 4.1.0)
   sessioninfo     1.2.2   2021-12-06 [1] CRAN (R 4.1.0)
   withr           2.4.3   2021-11-30 [1] CRAN (R 4.1.0)
   yaml            2.2.1   2020-02-01 [1] CRAN (R 4.1.0)

 [1] /Library/Frameworks/R.framework/Versions/4.1/Resources/library

Example application or steps to reproduce the problem

install plumber deploy
install.packages("plumberDeploy")
I also tried...
remotes::install_github("rstudio/plumber")
then...
library(plumberDeploy)

analogsea::account() # validate

plumbSSHKey <- analogsea::key_create("plumberSSH", readLines("~/.ssh/id_rsa.pub"))

which results in ....
Error: Key can't be blank

I've confirmed readLines("~/.ssh/id_rsa.pub") returns a valid SSH key

Describe the problem in detail

Trying to create an SSH key results in error: key can't be blank

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions