Skip to content

keyring 1.2.0 not working when kniting R markdown file #116

@SueYang

Description

@SueYang

Hi, when using latest version (1.2.0) to knit R markdown file, there's no prompt for password.

if(!exists(".pwd")) {
tryCatch({
.pwd<- key_get("db", keyring = "ds")
# make sure to lock the keyring at the end
keyring_lock("ds")
}, error = function(e) {
cat("Error when unlocking ds")
stop()
}
)
}

And the error message are
image

After switching back to older version keyring (1.1.0) the problem is gone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions