Forum / Password Vault Manager - Feature Request

Import from Enpass

  • Create an Issue
  • Cancel

Enpass (desktop) supports export to text, in a colon/linefeed separated format.
For example:

Title : MyWebLogin
Username : MyLogin
Email : email@usedToRegister.com
Password : abc1234
Url : https://www.thewebsite.com
Security question : What city was your first Job
Security answer : Nowhere USA
Security question : What color was your first pet?
Security answer : Black and white

It would be grand if it could be possible to import this format as I have hundreds of entries to move over to password vault manager. Credit cards and web logins would be the priority. Alternatively, if you could suggest a way to parse and convert without losing all of the columns not supported in CSV that could be helpful!

Thanks!

Clock4 yrs

Hi,
I will check with our support team if we could do it with PowerShell instead. Is it one file per entry?

Regards

David Hervieux

signaturesignature

Clock4 yrs

Unfortunately no - one file and there doesn't seem to be any separators. Just each entry denoted by Title line.

Clock4 yrs

Hello,

Here is a PowerShell script to import Enpass entry into RDM. Please note that it will works only with the Login entry type from Enpass.

I have also attach the PowerShell RDM entry that contains this script.

$enpassFile = Get-content "C:\Enpass\Enpass.txt"

$securquest = @()
$securans = @()

foreach ($line in $enpassFile) {
if ($line -match "Title :") {
$entryName = $line.TrimStart("Title : ")
}

if ($line -match "Username :") {
$user = $line.TrimStart("Username : ")
}

if ($line -match "Password :") {
$passwd = $line.TrimStart("Password : ")
}

if ($line -match "Url :") {
$url = $line.TrimStart("Url : ")
}

if ($line -match "Email :") {
$email = $line.TrimStart("Email : ")
}

if ($line -match "Security question :") {
$securquest += $line.TrimStart("Security question : ")
}

if ($line -match "Security answer :") {
$securans += $line.TrimStart("Security answer : ")
}

if (([string]::IsNullOrWhitespace($line)) -or ($line -eq $enpassFile[$enpassFile.Count - 1])) {
$dataEntryConnectionType = New-Object Devolutions.RemoteDesktopManager.Business.DataEntryConnectionTypeInfo
$dataEntryConnectionType.DataEntryConnectionType = [Devolutions.RemoteDesktopManager.DataEntryConnectionType]::Web
$dataEntryArray = @($dataEntryConnectionType)

$sess = New-RDMSession -Name $entryName -Kind "DataEntry"
$sess.DataEntry.ConnectionTypeInfos = $dataEntryArray
$sess.DataEntry.WebUserName = $user
$sess.DataEntry.WebPassword = $passwd
$sess.DataEntry.Url = $url
$sess.MetaInformation.Email = $email
Set-RDMSession $sess
Update-RDMUI

for ($ind = 0; $ind -lt $securquest.count -and $ind -lt 5; $ind++) {
$secInd = $ind + 1
Set-RDMSessionProperty -ID $sess.ID -Path "DataEntry" -Property "SecurityQuestion$secInd" -Value $securquest[$ind]
}

for ($ind = 0; $ind -lt $securans.count -and $ind -lt 5; $ind++) {
$secInd = $ind + 1
Set-RDMSessionProperty -ID $sess.ID -Path "DataEntry" -Property "SecurityAnswer$secInd" -Value $securans[$ind]
}

Write-Host "Web DataEntry $entryName has been created!"

$securquest = @()
$securans = @()
$entryName = ""
$user = ""
$passwd = ""
$url = ""
$email = ""
}
}

Update-RDMUI

Write-Host
Write-Host "Done!!!"

Best regards,



Érica Poirier

Happy Holiday Season!
Although our various support queues will be monitored during the coming holiday season, Devolutions' offices will be closed from December 24th, 2019, to January 1, 2020, inclusively.

signaturesignature

ImportEnpass.rdm
Clock4 yrs

Thanks! I had to fix some whitespace issues in my export but this worked! Thanks so much!

Clock4 yrs