Skip to content

Bitwarden.Secrets.Sdk NuGet 1.0 Special characters in secrets (e.g., £, €, accented letters) are returned incorrectly #1416

@Ced01documentipostaliit

Description

Steps To Reproduce

Describe the bug
When retrieving a secret using BitwardenClient.Secrets.Get(id), special characters such as £ are returned incorrectly. The "£" char is returned "£"

To Reproduce
Steps to reproduce the behavior:

  1. Store a secret in Bitwarden containing a special character, e.g., P@ssw£rd123.
  2. Retrieve the secret in .NET 8 using:

in c#
var secret = bitwardenClient.Secrets.Get(secretId).Value;
Console.WriteLine(secret);

Expected Result

The "£" char in secrets is returned "£"

Actual Result

The "£" char in secrets is returned "£"

Screenshots or Videos

No response

Additional Context

No response

Operating System

Windows

Operating System Version

No response

Build Version

1.0

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions